[tiktok] ignore empty 'music' entries (#8571)

This commit is contained in:
Mike Fährmann
2025-11-21 20:06:55 +01:00
parent 685777e43e
commit f06772e56e

View File

@@ -70,8 +70,7 @@ class TiktokExtractor(Extractor):
if self.audio and "music" in post:
if self.audio == "ytdl":
ytdl_media = "audio"
else:
url = self._extract_audio(post)
elif url := self._extract_audio(post):
yield Message.Url, url, post
elif self.video and "video" in post: