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:
parent
6277a739e4
commit
d0f88c35be
@ -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
|
||||
]
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user