Showing 2 changed files with 8 additions and 2 deletions
+7 -2
mangaProxy.py
... ...
@@ -90,9 +90,14 @@ def getReadManganatoCOM(url):
90 90
             linkPrev=subLine.split("\"")[5]
91 91
     elif "<img src=\"" in line:
92 92
       if ".jpg" in line:
93
-        for subLine in line.split("><"):
93
+        #print("============="+line)
94
+        #for subLine in line.split("><"):
95
+        for subLine in line.split("><img"):
96
+          #print("============="+subLine)
94 97
           if ".jpg" in subLine:
95
-            listImages.append(line.split("\"")[1])
98
+            #print(line.split("\"")[1])
99
+            listImages.append(subLine.split("\"")[1])
100
+            debug(line.split("\"")[1])
96 101
 
97 102
   if None is not linePreviousChapter:
98 103
     say("Prev :"+str(len(linePreviousChapter)))
+1
pageEnd.skel
... ...
@@ -88,6 +88,7 @@
88 88
     if(index < 0) {
89 89
         //index = 0;
90 90
         onChapterPrev();
91
+        return;
91 92
     }
92 93
     var string_index = "article-"+index;
93 94
     console.log("onArticle("+index+") : "+string_index);