Skip to content

Commit

Permalink
Merge pull request #428 from virtulis/master
Browse files Browse the repository at this point in the history
A quick fix to #427
  • Loading branch information
phihag committed Sep 27, 2012
2 parents b0d4f95 + 9ca6670 commit e2af923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/InfoExtractors.py
Expand Up @@ -402,7 +402,7 @@ def _real_extract(self, url):
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
Expand Down

0 comments on commit e2af923

Please sign in to comment.