diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-07 06:23:00 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-07 06:23:00 +0600 |
commit | 5d0f84d32cc038dd71673987cb6efaa85e953474 (patch) | |
tree | 1e11badfa5c61b0c203a985542133f7281d39dc2 /youtube_dl | |
parent | ee223abb88263bdda2d92c4b2139d1dca60ba3ae (diff) |
[beeg] Skip empty URLs (Closes #7392)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/beeg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/beeg.py b/youtube_dl/extractor/beeg.py index e6c928699..61bc2f744 100644 --- a/youtube_dl/extractor/beeg.py +++ b/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: |