provide type information for Queue messages
Child extractors are now directly constructed with Extractor.from_url() if the extractor class is known beforehand, instead of using extractor.find() and searching through all possible extractor classes.
This commit is contained in:
@@ -162,6 +162,7 @@ class TsuminoSearchExtractor(TsuminoBase, Extractor):
|
||||
yield Message.Version, 1
|
||||
for gallery in self.galleries():
|
||||
url = "{}/Book/Info/{}".format(self.root, gallery["Id"])
|
||||
gallery["_extractor"] = TsuminoGalleryExtractor
|
||||
yield Message.Queue, url, gallery
|
||||
|
||||
def galleries(self):
|
||||
|
||||
Reference in New Issue
Block a user