mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:35:04 +00:00
[theplatform] Extract all formats for f4m videos
This commit is contained in:
parent
b509a4b176
commit
dd41e8c82b
1 changed files with 1 additions and 4 deletions
|
@ -62,10 +62,7 @@ def _get_info(self, video_id, smil_url):
|
||||||
# the parameters are from syfy.com, other sites may use others,
|
# the parameters are from syfy.com, other sites may use others,
|
||||||
# they also work for nbc.com
|
# they also work for nbc.com
|
||||||
f4m_url += '&g=UXWGVKRWHFSP&hdcore=3.0.3'
|
f4m_url += '&g=UXWGVKRWHFSP&hdcore=3.0.3'
|
||||||
formats = [{
|
formats = self._extract_f4m_formats(f4m_url, video_id)
|
||||||
'ext': 'flv',
|
|
||||||
'url': f4m_url,
|
|
||||||
}]
|
|
||||||
else:
|
else:
|
||||||
base_url = head.find(_x('smil:meta')).attrib['base']
|
base_url = head.find(_x('smil:meta')).attrib['base']
|
||||||
switch = body.find(_x('smil:switch'))
|
switch = body.find(_x('smil:switch'))
|
||||||
|
|
Loading…
Reference in a new issue