diff options
Diffstat (limited to 'youtube_dlc/extractor/ivi.py')
-rw-r--r-- | youtube_dlc/extractor/ivi.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/ivi.py b/youtube_dlc/extractor/ivi.py index 7952ab9e6..580cf41cd 100644 --- a/youtube_dlc/extractor/ivi.py +++ b/youtube_dlc/extractor/ivi.py @@ -163,7 +163,10 @@ class IviIE(InfoExtractor): for f in result.get('files', []): f_url = f.get('url') content_format = f.get('content_format') - if not f_url or (not self._downloader.params.get('allow_unplayable_formats') and ('-MDRM-' in content_format or '-FPS-' in content_format)): + if not f_url: + continue + if (not self._downloader.params.get('allow_unplayable_formats') + and ('-MDRM-' in content_format or '-FPS-' in content_format)): continue formats.append({ 'url': f_url, |