[boosty] support audio files (#2387)

This commit is contained in:
Mike Fährmann
2024-10-04 09:20:25 +02:00
parent 57c30fdc5b
commit 3fa639fc2d

View File

@@ -115,6 +115,11 @@ class BoostyExtractor(Extractor):
links.append(url)
content.append(url)
elif type == "audio_file":
if post["signedQuery"]:
block["url"] += post["signedQuery"]
files.append(block)
else:
self.log.debug("%s: Unsupported data type '%s'",
post["int_id"], type)