mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-07 09:23:38 +00:00
fix linter errors
This commit is contained in:
parent
434bd53b37
commit
415d3abd21
@ -1,6 +1,5 @@
|
||||
import itertools
|
||||
import json
|
||||
import re
|
||||
|
||||
from .common import InfoExtractor
|
||||
from ..utils import (
|
||||
@ -254,7 +253,7 @@ class BannedVideoIE(BannedVideoBaseIE):
|
||||
'url': video_info.get('directUrl'),
|
||||
'ext': 'mp4',
|
||||
}] if url_or_none(video_info.get('directUrl')) else []
|
||||
if video_info.get('streamUrl') and not video_info.get('streamUrl') == video_info.get('directUrl'):
|
||||
if video_info.get('streamUrl') and video_info.get('streamUrl') != video_info.get('directUrl'):
|
||||
formats.extend(self._extract_m3u8_formats(
|
||||
video_info.get('streamUrl'), video_id, 'mp4',
|
||||
entry_protocol='m3u8_native', m3u8_id='hls',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user