yield 3-tuples for Message.Directory
adapt tuples to the same length and semantics as other messages
This commit is contained in:
@@ -37,7 +37,7 @@ class FanslyExtractor(Extractor):
|
||||
post["count"] = len(files)
|
||||
post["date"] = self.parse_timestamp(post["createdAt"])
|
||||
|
||||
yield Message.Directory, post
|
||||
yield Message.Directory, "", post
|
||||
for post["num"], file in enumerate(files, 1):
|
||||
post.update(file)
|
||||
url = file["url"]
|
||||
|
||||
Reference in New Issue
Block a user