diff options
author | Unknown <blackjack4494@web.de> | 2020-09-12 01:17:16 +0200 |
---|---|---|
committer | Unknown <blackjack4494@web.de> | 2020-09-12 01:17:16 +0200 |
commit | 4ae68091bbd8f40dc977934d70359ddda601a5b9 (patch) | |
tree | 78a7e4423bd7221398c016685b83921dd6df08c9 | |
parent | 169bd46bdc54ae169ffcbb79b44ac1b3866d2ee3 (diff) | |
download | hypervideo-pre-4ae68091bbd8f40dc977934d70359ddda601a5b9.tar.lz hypervideo-pre-4ae68091bbd8f40dc977934d70359ddda601a5b9.tar.xz hypervideo-pre-4ae68091bbd8f40dc977934d70359ddda601a5b9.zip |
[soundcloud] flake8
-rw-r--r-- | youtube_dlc/extractor/viki.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dlc/extractor/viki.py b/youtube_dlc/extractor/viki.py index fc150d5a4..f8e360338 100644 --- a/youtube_dlc/extractor/viki.py +++ b/youtube_dlc/extractor/viki.py @@ -273,7 +273,7 @@ class VikiIE(VikiBaseIE): }) else: urlh = self._request_webpage( - HEADRequest(format_url), video_id, 'Checking file size', fatal=False) + HEADRequest(format_url), video_id, 'Checking file size', fatal=False) formats.append({ 'url': format_url, 'format_id': '%s-%s' % (format_id, protocol), @@ -311,9 +311,9 @@ class VikiIE(VikiBaseIE): stream_ids = [] for f in formats: s_id = f.get('stream_id') - if s_id != None: + if s_id is not None: stream_ids.append(s_id) - + subtitles = {} for subtitle_lang, _ in video.get('subtitle_completions', {}).items(): subtitles[subtitle_lang] = [{ |