mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-02 06:57:44 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
aa5bc9f712
4 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
2012.02.27
|
2012.09.27
|
||||||
|
|
BIN
youtube-dl
BIN
youtube-dl
Binary file not shown.
|
@ -402,7 +402,7 @@ class YoutubeIE(InfoExtractor):
|
||||||
url_data_strs = video_info['url_encoded_fmt_stream_map'][0].split(',')
|
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 = [parse_qs(uds) for uds in url_data_strs]
|
||||||
url_data = filter(lambda ud: 'itag' in ud and 'url' in ud, url_data)
|
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)
|
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
|
available_formats = self._available_formats_prefer_free if self._downloader.params.get('prefer_free_formats', False) else self._available_formats
|
||||||
|
|
|
@ -19,7 +19,7 @@ __authors__ = (
|
||||||
)
|
)
|
||||||
|
|
||||||
__license__ = 'Public Domain'
|
__license__ = 'Public Domain'
|
||||||
__version__ = '2012.02.27'
|
__version__ = '2012.09.27'
|
||||||
|
|
||||||
UPDATE_URL = 'https://raw.github.com/rg3/youtube-dl/master/youtube-dl'
|
UPDATE_URL = 'https://raw.github.com/rg3/youtube-dl/master/youtube-dl'
|
||||||
UPDATE_URL_VERSION = 'https://raw.github.com/rg3/youtube-dl/master/LATEST_VERSION'
|
UPDATE_URL_VERSION = 'https://raw.github.com/rg3/youtube-dl/master/LATEST_VERSION'
|
||||||
|
|
Loading…
Reference in a new issue