[komikcast] ignore banner image

This commit is contained in:
Mike Fährmann 2019-10-03 17:34:06 +02:00
parent 0ff90a3f7d
commit bb97e87989
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -73,7 +73,7 @@ class KomikcastChapterExtractor(KomikcastBase, ChapterExtractor):
return [
(text.unescape(url), None)
for url in re.findall(r"<img[^>]* src=[\"']([^\"']+)", readerarea)
if "/Banner-" not in url
if "/Banner-" not in url and "/WM-Sampingan." not in url
]