mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
[beeg] Skip empty URLs (Closes #7392)
This commit is contained in:
parent
ee223abb88
commit
5d0f84d32c
@ -33,6 +33,8 @@ class BeegIE(InfoExtractor):
|
|||||||
|
|
||||||
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user