Revert "[youtube] Fix detection of tags from HLS videos."
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 8 Sep 2013 16:49:10 +0000 (18:49 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 8 Sep 2013 16:50:07 +0000 (18:50 +0200)
They have undo the change

This reverts commit 0638ad9999e7c374b253d0e13f4e3a20ef0b1171.

youtube_dl/extractor/youtube.py

index 423a5e973ce258e1248c62e7ed444ef943fc797e..bad15cb44a68d9ec1914304241fb7c1c2106bfc5 100644 (file)
@@ -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%3D(\d+?)/', format_url, 'itag')
+            itag = self._search_regex(r'itag/(\d+?)/', format_url, 'itag')
             url_map[itag] = format_url
         return url_map