[YouTube] Fix `KeyError QV` in signature extraction failed
authordirkf <fieldhouse@gmx.net>
Sat, 17 Jun 2023 14:36:39 +0000 (15:36 +0100)
committerdirkf <fieldhouse@gmx.net>
Sat, 17 Jun 2023 14:55:19 +0000 (15:55 +0100)
commitae8ba2c31977b68b75221f80c488c0b12385269c
tree6e6bf73e9ccca93589a80155309018dd5560e980
parentd6433cbb2c4440056a38846e35bb5a3efa9bcac2
[YouTube] Fix `KeyError QV` in signature extraction failed
* temporarily force missing global definition into sig JS
* improve test: thanks https://github.com/yt-dlp/yt-dlp/issues/7327#issuecomment-1595274615
* resolves #32314
test/test_youtube_signature.py
youtube_dl/extractor/youtube.py