1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

[youtube] Improve signature cipher extraction (closes #25188)

This commit is contained in:
Sergey M․ 2020-05-08 17:42:30 +07:00
parent 30fa5c6087
commit fa3db38333
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -1966,7 +1966,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
url = url_or_none(fmt.get('url')) url = url_or_none(fmt.get('url'))
if not url: if not url:
cipher = fmt.get('cipher') cipher = fmt.get('cipher') or fmt.get('signatureCipher')
if not cipher: if not cipher:
continue continue
url_data = compat_parse_qs(cipher) url_data = compat_parse_qs(cipher)