From 4cb18ab1b96f1302f482f73989e263933e71d2e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Fri, 23 Jun 2017 20:50:48 +0700 Subject: [PATCH] [ooyala] Skip empty format URLs (closes #13471, closes #13476) --- youtube_dl/extractor/ooyala.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0