yield 3-tuples for Message.Directory

adapt tuples to the same length and semantics as other messages
This commit is contained in:
Mike Fährmann
2025-12-05 21:39:52 +01:00
parent 80878c1501
commit 968597a302
166 changed files with 237 additions and 237 deletions

View File

@@ -24,7 +24,7 @@ class CyberdropAlbumExtractor(lolisafe.LolisafeAlbumExtractor):
def items(self):
files, data = self.fetch_album(self.album_id)
yield Message.Directory, data
yield Message.Directory, "", data
for data["num"], file in enumerate(files, 1):
file.update(data)
text.nameext_from_url(file["name"], file)