mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youtube] Fix detection of tags from HLS videos.
This commit is contained in:
parent
1eb527692a
commit
0638ad9999
1 changed files with 1 additions and 1 deletions
|
@ -643,7 +643,7 @@ def _get_urls(_manifest):
|
|||
manifest = self._download_webpage(manifest_url, video_id, u'Downloading formats manifest')
|
||||
formats_urls = _get_urls(manifest)
|
||||
for format_url in formats_urls:
|
||||
itag = self._search_regex(r'itag/(\d+?)/', format_url, 'itag')
|
||||
itag = self._search_regex(r'itag%3D(\d+?)/', format_url, 'itag')
|
||||
url_map[itag] = format_url
|
||||
return url_map
|
||||
|
||||
|
|
Loading…
Reference in a new issue