mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 12:42:28 +01:00
[atresplayer] PEP 8
This commit is contained in:
parent
590bc6f6a1
commit
5b7cc56b05
@ -156,8 +156,8 @@ def _real_extract(self, url):
|
|||||||
if format_id == 'token' or not video_url.startswith('http'):
|
if format_id == 'token' or not video_url.startswith('http'):
|
||||||
continue
|
continue
|
||||||
if 'geodeswowsmpra3player' in video_url:
|
if 'geodeswowsmpra3player' in video_url:
|
||||||
f4m_path = video_url.split('smil:', 1)[-1].split('free_', 1)[0]
|
# f4m_path = video_url.split('smil:', 1)[-1].split('free_', 1)[0]
|
||||||
f4m_url = 'http://drg.antena3.com/{0}hds/es/sd.f4m'.format(f4m_path)
|
# f4m_url = 'http://drg.antena3.com/{0}hds/es/sd.f4m'.format(f4m_path)
|
||||||
# this videos are protected by DRM, the f4m downloader doesn't support them
|
# this videos are protected by DRM, the f4m downloader doesn't support them
|
||||||
continue
|
continue
|
||||||
video_url_hd = video_url.replace('free_es', 'es')
|
video_url_hd = video_url.replace('free_es', 'es')
|
||||||
|
Loading…
Reference in New Issue
Block a user