mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 08:10:36 +01:00
Use new signature calculation method only if sig is not present
This commit is contained in:
parent
1f90438025
commit
89cb0eb0b6
@ -757,7 +757,7 @@ def _real_extract(self, url):
|
||||
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…
Reference in New Issue
Block a user