From: Sergey M․ Date: Fri, 23 Jun 2017 13:50:48 +0000 (+0700) Subject: [ooyala] Skip empty format URLs (closes #13471, closes #13476) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=4cb18ab1b96f1302f482f73989e263933e71d2e7;p=youtube-dl [ooyala] Skip empty format URLs (closes #13471, closes #13476) --- diff --git a/youtube_dl/extractor/ooyala.py b/youtube_dl/extractor/ooyala.py index 84be2b1e3..ef8adccc1 100644 --- a/youtube_dl/extractor/ooyala.py +++ b/youtube_dl/extractor/ooyala.py @@ -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)