diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-09-27 02:22:05 -0700 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-09-27 02:22:05 -0700 |
commit | e2af9232b2d68c25a128b4e8d6c29e8c782d0d10 (patch) | |
tree | 3d178d8cf3cf16e114ad06bb14721279245f26a2 | |
parent | b0d4f9589973396eea1731e4a5ed3d8015365018 (diff) | |
parent | 9ca667065e7371322e0970421fb4e03f8bd00b9e (diff) |
Merge pull request #428 from virtulis/master
A quick fix to #427
-rw-r--r-- | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index d95423f7d..8dd1c0b07 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -402,7 +402,7 @@ class YoutubeIE(InfoExtractor): url_data_strs = video_info['url_encoded_fmt_stream_map'][0].split(',') url_data = [parse_qs(uds) for uds in url_data_strs] url_data = filter(lambda ud: 'itag' in ud and 'url' in ud, url_data) - url_map = dict((ud['itag'][0], ud['url'][0]) for ud in url_data) + url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data) format_limit = self._downloader.params.get('format_limit', None) available_formats = self._available_formats_prefer_free if self._downloader.params.get('prefer_free_formats', False) else self._available_formats |