mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 13:45:51 +01:00
[youtube] Improve signature cipher extraction (closes #25188)
This commit is contained in:
parent
30fa5c6087
commit
fa3db38333
@ -1966,7 +1966,7 @@ def _extract_filesize(media_url):
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user