aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-06-23 20:50:48 +0700
committerSergey M․ <dstftw@gmail.com>2017-06-23 20:50:48 +0700
commit4cb18ab1b96f1302f482f73989e263933e71d2e7 (patch)
treef4140e5e64122e57ff6f734f22975f3be7bedf93
parentac7409eec5be3e120928e66af0d5fd7f38a06c5f (diff)
[ooyala] Skip empty format URLs (closes #13471, closes #13476)
-rw-r--r--youtube_dl/extractor/ooyala.py2
1 files changed, 1 insertions, 1 deletions
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)