youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 89cb0eb0b6037c9769761eb58026b949bfd1277b
parent 1f9043802534ba22466bc9cff5b9ac7649159642
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Sun, 23 Jun 2013 19:43:18 +0200

Use new signature calculation method only if sig is not present

Diffstat:
Myoutube_dl/InfoExtractors.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py @@ -757,7 +757,7 @@ class YoutubeIE(InfoExtractor): url = url_data['url'][0] if 'sig' in url_data: url += '&signature=' + url_data['sig'][0] - if 's' in url_data: + elif 's' in url_data: signature = self._decrypt_signature(url_data['s'][0]) url += '&signature=' + signature if 'ratebypass' not in url: