remove most 'yield Message.Version' statements

only leave them in oauth.py as noop results
This commit is contained in:
Mike Fährmann
2021-08-16 03:10:48 +02:00
parent bdfdabf498
commit bd08ee2859
59 changed files with 0 additions and 91 deletions

View File

@@ -19,7 +19,6 @@ class BehanceExtractor(Extractor):
root = "https://www.behance.net"
def items(self):
yield Message.Version, 1
for gallery in self.galleries():
gallery["_extractor"] = BehanceGalleryExtractor
yield Message.Queue, gallery["url"], self._update(gallery)
@@ -99,7 +98,6 @@ class BehanceGalleryExtractor(BehanceExtractor):
imgs = self.get_images(data)
data["count"] = len(imgs)
yield Message.Version, 1
yield Message.Directory, data
for data["num"], (url, module) in enumerate(imgs, 1):
data["module"] = module