From: Jaime Marquínez Ferrándiz Date: Fri, 6 Sep 2013 08:25:31 +0000 (+0200) Subject: [youtube] Fix detection of tags from HLS videos. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0638ad9999e7c374b253d0e13f4e3a20ef0b1171;p=youtube-dl [youtube] Fix detection of tags from HLS videos. --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 3c1d449af..cd5165c94 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -643,7 +643,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 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