1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[ooyala] Skip empty format URLs (closes #13471, closes #13476)

This commit is contained in:
Sergey M․ 2017-06-23 20:50:48 +07:00
parent ac7409eec5
commit 4cb18ab1b9
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -41,7 +41,7 @@ class OoyalaBaseIE(InfoExtractor):
for stream in cur_auth_data['streams']:
s_url = base64.b64decode(
stream['url']['data'].encode('ascii')).decode('utf-8')
if s_url in urls:
if not s_url or s_url in urls:
continue
urls.append(s_url)
ext = determine_ext(s_url, None)