[reddit] provide 'fallback_url' as video fallback (#5296)

This commit is contained in:
Mike Fährmann
2024-03-07 15:58:01 +01:00
parent d3003f8531
commit 146459056c

View File

@@ -191,6 +191,8 @@ class RedditExtractor(Extractor):
try:
if "reddit_video_preview" in post["preview"]:
video = post["preview"]["reddit_video_preview"]
if "fallback_url" in video:
yield video["fallback_url"]
if "dash_url" in video:
yield "ytdl:" + video["dash_url"]
if "hls_url" in video: