aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-06-21 18:21:45 -0500
committerGitHub <noreply@github.com>2024-06-21 23:21:45 +0000
commit8ca1d57ed08d00efa117820a5a82f763b20e2d1d (patch)
treee26b0e6be603692ee563fc1b2c8c4b7b325d2a70
parent800ec085ccf98420584d8bb38c20a2c079669b09 (diff)
[ie/facebook:reel] Fix extraction (#10232)
Closes #10227 Authored by: bashonly
-rw-r--r--yt_dlp/extractor/facebook.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/extractor/facebook.py b/yt_dlp/extractor/facebook.py
index 1d1e0770a..a3ca291fc 100644
--- a/yt_dlp/extractor/facebook.py
+++ b/yt_dlp/extractor/facebook.py
@@ -621,6 +621,9 @@ class FacebookIE(InfoExtractor):
'url': playable_url,
})
extract_dash_manifest(video, formats)
+ if not formats:
+ # Do not append false positive entry w/o any formats
+ return
automatic_captions, subtitles = {}, {}
is_broadcast = traverse_obj(video, ('is_video_broadcast', {bool}))