projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f90438
)
Use new signature calculation method only if sig is not present
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Jun 2013 17:43:18 +0000
(19:43 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 23 Jun 2013 17:43:18 +0000
(19:43 +0200)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 39d2ef9d4a8b9cfd737e4d5a76850044b6a22917..062e60ca25d15758372cb5cc8a0137093b54173a 100755
(executable)
--- 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:
+
el
if 's' in url_data:
signature = self._decrypt_signature(url_data['s'][0])
url += '&signature=' + signature
if 'ratebypass' not in url: