mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-02 08:38:23 +01:00
flake8
This commit is contained in:
parent
ff2e049d3e
commit
c7684156c2
|
@ -166,7 +166,6 @@ class VidioPremierIE(VidioBaseIE):
|
||||||
|
|
||||||
def _playlist_entries(self, playlist, series_id, series_name, season_name, display_id):
|
def _playlist_entries(self, playlist, series_id, series_name, season_name, display_id):
|
||||||
playlist_url = 'https://api.vidio.com/content_profiles/%s/playlists/%s/playlist_items' % (series_id, playlist['id'])
|
playlist_url = 'https://api.vidio.com/content_profiles/%s/playlists/%s/playlist_items' % (series_id, playlist['id'])
|
||||||
playlist_name = playlist.get('name')
|
|
||||||
|
|
||||||
entries = []
|
entries = []
|
||||||
index = 1
|
index = 1
|
||||||
|
@ -255,7 +254,7 @@ class VidioLiveIE(VidioBaseIE):
|
||||||
if stream_meta.get('stream_token_url'):
|
if stream_meta.get('stream_token_url'):
|
||||||
token_json = self._download_json(
|
token_json = self._download_json(
|
||||||
'https://www.vidio.com/live/%s/tokens' % video_id,
|
'https://www.vidio.com/live/%s/tokens' % video_id,
|
||||||
display_id, note='Downloading HLS token JSON', data=b'')
|
display_id, note='Downloading HLS token JSON', data=b'')
|
||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
stream_meta['stream_token_url'] + '?' + token_json.get('token', ''), display_id, 'mp4', 'm3u8_native'))
|
stream_meta['stream_token_url'] + '?' + token_json.get('token', ''), display_id, 'mp4', 'm3u8_native'))
|
||||||
if stream_meta.get('stream_dash_url'):
|
if stream_meta.get('stream_dash_url'):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user