[poipiku] update filter for static images (#2796)
This commit is contained in:
@@ -51,7 +51,7 @@ class PoipikuExtractor(Extractor):
|
|||||||
thumb = extr('class="IllustItemThumbImg" src="', '"')
|
thumb = extr('class="IllustItemThumbImg" src="', '"')
|
||||||
if not thumb:
|
if not thumb:
|
||||||
break
|
break
|
||||||
elif thumb.startswith("/img/"):
|
elif thumb.startswith(("//img.poipiku.com/img/", "/img/")):
|
||||||
continue
|
continue
|
||||||
post["num"] += 1
|
post["num"] += 1
|
||||||
url = text.ensure_http_scheme(thumb[:-8])
|
url = text.ensure_http_scheme(thumb[:-8])
|
||||||
|
|||||||
Reference in New Issue
Block a user