diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-12 10:04:04 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-12 20:32:49 +0530 |
commit | 068693675ef45c6f0b752c53d8810193d33dc712 (patch) | |
tree | 9c7093d8610a1be34290fc7f74799ccc36feb590 /youtube_dlc/extractor/ivi.py | |
parent | 1ea241292770c6027b951aa045e00eadd140b9f5 (diff) |
Cleanup some code and fix typos
:ci skip dl
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, |