[reddit] provide 'fallback_url' as video fallback (#5296)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user