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

@@ -46,7 +46,7 @@ class SubscribestarExtractor(Extractor):
content, "<body>", "</body>")
data["title"] = text.unescape(text.rextr(content, "<h1>", "</h1>"))
yield Message.Directory, data
yield Message.Directory, "", data
for num, item in enumerate(media, 1):
item.update(data)
item["num"] = num