[beeg] Skip empty URLs (Closes #7392)
[youtube-dl] / youtube_dl / extractor / beeg.py
index e6c928699c1e2f66de4af8a0fa623f149918c378..61bc2f7445a6fe115746b8f33b92421c2ab7e32c 100644 (file)
@@ -33,6 +33,8 @@ class BeegIE(InfoExtractor):
 
         formats = []
         for format_id, video_url in video.items():
+            if not video_url:
+                continue
             height = self._search_regex(
                 r'^(\d+)[pP]$', format_id, 'height', default=None)
             if not height: