mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 19:36:45 +00:00
[extractor/common] try to extract non smil wowza mpd manifests
This commit is contained in:
parent
edd6074cea
commit
0384932e3d
|
@ -1884,11 +1884,11 @@ def _extract_wowza_formats(self, url, video_id, m3u8_entry_protocol='m3u8_native
|
||||||
formats.extend(self._extract_f4m_formats(
|
formats.extend(self._extract_f4m_formats(
|
||||||
http_base_url + '/manifest.f4m',
|
http_base_url + '/manifest.f4m',
|
||||||
video_id, f4m_id='hds', fatal=False))
|
video_id, f4m_id='hds', fatal=False))
|
||||||
if re.search(r'(?:/smil:|\.smil)', url_base):
|
|
||||||
if 'dash' not in skip_protocols:
|
if 'dash' not in skip_protocols:
|
||||||
formats.extend(self._extract_mpd_formats(
|
formats.extend(self._extract_mpd_formats(
|
||||||
http_base_url + '/manifest.mpd',
|
http_base_url + '/manifest.mpd',
|
||||||
video_id, mpd_id='dash', fatal=False))
|
video_id, mpd_id='dash', fatal=False))
|
||||||
|
if re.search(r'(?:/smil:|\.smil)', url_base):
|
||||||
if 'smil' not in skip_protocols:
|
if 'smil' not in skip_protocols:
|
||||||
rtmp_formats = self._extract_smil_formats(
|
rtmp_formats = self._extract_smil_formats(
|
||||||
http_base_url + '/jwplayer.smil',
|
http_base_url + '/jwplayer.smil',
|
||||||
|
|
|
@ -49,7 +49,7 @@ def _real_extract(self, url):
|
||||||
webpage, 'filename')
|
webpage, 'filename')
|
||||||
|
|
||||||
playlist_url = 'http://vod.streamcloud.be/%s/_definst_/mp4:%s.mp4/playlist.m3u8' % (application, filename)
|
playlist_url = 'http://vod.streamcloud.be/%s/_definst_/mp4:%s.mp4/playlist.m3u8' % (application, filename)
|
||||||
formats = self._extract_wowza_formats(playlist_url, display_id)
|
formats = self._extract_wowza_formats(playlist_url, display_id, skip_protocols=['dash'])
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
title = self._og_search_title(webpage, default=display_id)
|
title = self._og_search_title(webpage, default=display_id)
|
||||||
|
|
Loading…
Reference in a new issue