]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Revert "disable YT ratelimit; this should enable to max out the connection bandwidth"
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 17 Apr 2013 21:21:58 +0000 (23:21 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 17 Apr 2013 21:22:25 +0000 (23:22 +0200)
Although cool, that seems to break a lot of youtube videos.

This reverts commit a60b854d9099e5a286accf8065d1dc9e00a4bfe6.

youtube_dl/InfoExtractors.py

index e1d71ccb778c5b39b6bf1250c5ca57f14a876d83..7deb488a90d7fe22f4e7d7975f52e70d1fc79cf4 100755 (executable)
@@ -581,7 +581,7 @@ class YoutubeIE(InfoExtractor):
             url_data_strs = video_info['url_encoded_fmt_stream_map'][0].split(',')
             url_data = [compat_parse_qs(uds) for uds in url_data_strs]
             url_data = [ud for ud in url_data if 'itag' in ud and 'url' in ud]
-            url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0] + '&ratebypass=yes') 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