[beeg] Skip empty URLs (Closes #7392)

This commit is contained in:
Sergey M․ 2015-11-07 06:23:00 +06:00
parent ee223abb88
commit 5d0f84d32c

View file

@ -33,6 +33,8 @@ def _real_extract(self, url):
formats = [] formats = []
for format_id, video_url in video.items(): for format_id, video_url in video.items():
if not video_url:
continue
height = self._search_regex( height = self._search_regex(
r'^(\d+)[pP]$', format_id, 'height', default=None) r'^(\d+)[pP]$', format_id, 'height', default=None)
if not height: if not height: