1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-26 00:07:55 +01:00

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

This commit is contained in:
Sergey M․ 2020-05-08 17:42:30 +07:00 committed by tsia
parent c81040f0f1
commit 70c1610701

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)