mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[hentainexus] add '_extractor' data
This commit is contained in:
parent
2a085a5e96
commit
8bd5a19515
@ -85,11 +85,12 @@ class HentainexusSearchExtractor(Extractor):
|
||||
while path:
|
||||
page = self.request(self.root + path, params=params).text
|
||||
extr = text.extract_from(page)
|
||||
data = {"_extractor": HentainexusGalleryExtractor}
|
||||
|
||||
while True:
|
||||
gallery_id = extr('<a href="/view/', '"')
|
||||
if not gallery_id:
|
||||
break
|
||||
yield Message.Queue, self.root + "/view/" + gallery_id, {}
|
||||
yield Message.Queue, self.root + "/view/" + gallery_id, data
|
||||
|
||||
path = extr('class="pagination-next" href="', '"')
|
||||
|
Loading…
Reference in New Issue
Block a user