yield 3-tuples for Message.Directory
adapt tuples to the same length and semantics as other messages
This commit is contained in:
@@ -48,7 +48,7 @@ class PexelsExtractor(Extractor):
|
||||
self.log.warning("%s: Unsupported post type", post.get("id"))
|
||||
continue
|
||||
|
||||
yield Message.Directory, post
|
||||
yield Message.Directory, "", post
|
||||
yield Message.Url, url, text.nameext_from_url(name, post)
|
||||
|
||||
def posts(self):
|
||||
|
||||
Reference in New Issue
Block a user