[turboimagehost] fix extraction
This commit is contained in:
parent
c69150f715
commit
fd8ed35591
@ -225,6 +225,5 @@ class TurboimagehostImageExtractor(ImagehostImageExtractor):
|
||||
params = None
|
||||
|
||||
def get_info(self, page):
|
||||
needle = '://www.turboimagehost.com"><img src="'
|
||||
url = text.extract(page, needle, '"')[0]
|
||||
url = text.extract(page, 'src="', '"', page.index("<img "))[0]
|
||||
return url, url
|
||||
|
@ -83,7 +83,7 @@ class MangaparkChapterExtractor(MangaparkExtractor, ChapterExtractor):
|
||||
test = [
|
||||
("https://mangapark.me/manga/gosu/s2/c55", {
|
||||
"count": 50,
|
||||
"keyword": "72ac1714b492b021a1fe26d9271ed132d51a930e",
|
||||
"keyword": "5454f37e6ca4113c5639c9bdad5185ccdce4bb10",
|
||||
}),
|
||||
(("https://mangapark.me/manga/"
|
||||
"ad-astra-per-aspera-hata-kenjirou/s5/c1.2"), {
|
||||
|
Loading…
x
Reference in New Issue
Block a user