| ... | ... |
@@ -81,7 +81,8 @@ def getManganeloTV(url): |
| 81 | 81 |
elif "<meta property=\"og:title\" content=\"" in line and lineTitle is None: |
| 82 | 82 |
lineTitle = line |
| 83 | 83 |
elif "<img class=\"img-loading\" data-src=\"" in line: |
| 84 |
- listImages.append(line.split("\"")[3])
|
|
| 84 |
+ if ".jpg" in line: |
|
| 85 |
+ listImages.append(line.split("\"")[3])
|
|
| 85 | 86 |
|
| 86 | 87 |
if 0 == len(listImages): |
| 87 | 88 |
# Attempt to extract images once more, most likely all are on one line |
| ... | ... |
@@ -89,7 +90,8 @@ def getManganeloTV(url): |
| 89 | 90 |
if " page " in line: |
| 90 | 91 |
for subLine in line.split("><"):
|
| 91 | 92 |
if "https://" in subLine: |
| 92 |
- listImages.append(subLine.split("\"")[1])
|
|
| 93 |
+ if ".jpg" in subLine.split("\"")[1]:
|
|
| 94 |
+ listImages.append(subLine.split("\"")[1])
|
|
| 93 | 95 |
|
| 94 | 96 |
if None is not linePreviousChapter: |
| 95 | 97 |
say("Prev :"+str(len(linePreviousChapter)))
|