[ooyala] Skip empty format URLs (closes #13471, closes #13476)
authorSergey M․ <dstftw@gmail.com>
Fri, 23 Jun 2017 13:50:48 +0000 (20:50 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 23 Jun 2017 13:50:48 +0000 (20:50 +0700)
youtube_dl/extractor/ooyala.py

index 84be2b1e3fe9fec47e915c13b14a8f23c0383232..ef8adccc142c5ea0a617568625d6a78e4a345d86 100644 (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)