1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 20:42:52 +08:00

Revert "[youtube] Fix detection of tags from HLS videos."

They have undo the change

This reverts commit 0638ad9999.
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-09-08 18:49:10 +02:00
parent 8f362589a5
commit 890f62e868

View File

@ -643,7 +643,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
manifest = self._download_webpage(manifest_url, video_id, u'Downloading formats manifest') manifest = self._download_webpage(manifest_url, video_id, u'Downloading formats manifest')
formats_urls = _get_urls(manifest) formats_urls = _get_urls(manifest)
for format_url in formats_urls: for format_url in formats_urls:
itag = self._search_regex(r'itag%3D(\d+?)/', format_url, 'itag') itag = self._search_regex(r'itag/(\d+?)/', format_url, 'itag')
url_map[itag] = format_url url_map[itag] = format_url
return url_map return url_map