Browse Source

[beeg] Skip empty URLs (Closes #7392)

Sergey M․ 9 years ago
parent
commit
5d0f84d32c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      youtube_dl/extractor/beeg.py

+ 2 - 0
youtube_dl/extractor/beeg.py

@@ -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: