mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 07:42:42 +00:00
[extractor/generic] Skip URLs we came from when delegating ISM extraction
This commit is contained in:
parent
26aae56690
commit
4119a96ce5
1 changed files with 1 additions and 1 deletions
|
@ -2453,7 +2453,7 @@ class GenericIE(InfoExtractor):
|
||||||
entry_info_dict['formats'] = self._extract_mpd_formats(video_url, video_id)
|
entry_info_dict['formats'] = self._extract_mpd_formats(video_url, video_id)
|
||||||
elif ext == 'f4m':
|
elif ext == 'f4m':
|
||||||
entry_info_dict['formats'] = self._extract_f4m_formats(video_url, video_id)
|
entry_info_dict['formats'] = self._extract_f4m_formats(video_url, video_id)
|
||||||
elif re.search(r'(?i)\.(?:ism|smil)/manifest', video_url):
|
elif re.search(r'(?i)\.(?:ism|smil)/manifest', video_url) and video_url != url:
|
||||||
# Just matching .ism/manifest is not enough to be reliably sure
|
# Just matching .ism/manifest is not enough to be reliably sure
|
||||||
# whether it's actually an ISM manifest or some other streaming
|
# whether it's actually an ISM manifest or some other streaming
|
||||||
# manifest since there are various streaming URL formats
|
# manifest since there are various streaming URL formats
|
||||||
|
|
Loading…
Reference in a new issue