[beeg] Skip empty URLs (Closes #7392)
authorSergey M․ <dstftw@gmail.com>
Sat, 7 Nov 2015 00:23:00 +0000 (06:23 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 7 Nov 2015 00:23:00 +0000 (06:23 +0600)
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: