Browse Source

Use new signature calculation method only if sig is not present

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
89cb0eb0b6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/InfoExtractors.py

+ 1
- 1
youtube_dl/InfoExtractors.py View File

@ -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:


Loading…
Cancel
Save