From: Sergey M․ Date: Sat, 7 Nov 2015 00:23:00 +0000 (+0600) Subject: [beeg] Skip empty URLs (Closes #7392) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5d0f84d32cc038dd71673987cb6efaa85e953474;p=youtube-dl [beeg] Skip empty URLs (Closes #7392) --- 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: