1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00

[komikcast] fix extraction

This commit is contained in:
Mike Fährmann 2019-03-18 11:12:19 +01:00
parent 6277a739e4
commit d0f88c35be
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ class KomikcastChapterExtractor(KomikcastBase, ChapterExtractor):
page, '<div id="readerarea">', '<div class="navig">')[0]
return [
(text.unescape(url), None)
for url in re.findall(r"\bsrc=[\"']([^\"']+)", readerarea)
for url in re.findall(r"<img\s+src=[\"']([^\"']+)", readerarea)
if "/Banner-" not in url
]

View File

@ -166,7 +166,7 @@ class LusciousSearchExtractor(LusciousExtractor):
r"/((?:albums|c)(?:/(?![^/?&#]+_\d+)[^/?&#]+)+)")
test = (
("https://luscious.net/c/hentai/"),
("https://luscious.net/albums/t2/2/c/hentai/sorted/updated"
("https://luscious.net/albums/c/hentai/sorted/updated"
"/tagged/+full_color/page/2/", {
"pattern": r"https://(members\.)?luscious.net/albums/[^_]+_\d+/",
"range": "20-40",