mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 04:13:20 +00:00
linter
This commit is contained in:
parent
deab7eb786
commit
50306a11eb
|
@ -262,7 +262,7 @@ def _real_extract(self, url):
|
|||
display_id, note='Downloading HLS token JSON', data=b'')
|
||||
formats.extend(self._extract_m3u8_formats(
|
||||
sources['source'] + '?' + token_json.get('token', ''), display_id, 'mp4', 'm3u8_native'))
|
||||
if str_or_none(sources.get('source_dash')): # TODO: Find live example with source_dash
|
||||
if str_or_none(sources.get('source_dash')): # TODO: Find live example with source_dash
|
||||
parsed_base_dash = compat_urllib_parse_urlparse(sources['source_dash'])
|
||||
token_json = self._download_json(
|
||||
'https://www.vidio.com/live/%s/tokens?type=dash' % video_id,
|
||||
|
|
Loading…
Reference in a new issue