-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YouTube] ERROR: Signature extraction failed, KeyError QV #32314
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
Just now started getting the same error under Ubuntu 22.04 on every download i try. Cannot validate on other systems currently. My traceback looks mostly the same, except for the paths up until youtube-dl as i installed it to |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Here too on MacOS. COMMAND: OUTPUT:
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
I got the same Error on Windows 10. The traceback was a lot shorter. Then I tried with yt_dlp (youtube_dlp) and it worked fine with me. |
It appears for me at least on MacOS that it's suddenly working fine now. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This is a new JS issue introduced with player 6ed0d907. See also yt-dlp/yt-dlp#7327. |
This comment was marked as duplicate.
This comment was marked as duplicate.
The signature JS is like this (player line 2632): Lsa = {
a = a.split('');
AH.QV(a, 46);
AH.pO(a, 1);
AH.QV(a, 26);
AH.LR(a, 56);
AH.pO(a, 3);
AH.QV(a, 24);
AH.pO(a, 2);
return a.join('')
};
var AH = {
LR: function (a, b) {
var c = a[0];
a[0] = a[b % a.length];
a[b % a.length] = c
},
QV: function (a) {
a.reverse()
},
pO: function (a, b) {
a.splice(0, b)
}
}; Because of var hoisting (thanks Brendan), |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@davidecavaliere, please open a new issue (subject to #30839) for the consent issue, if it affects yt-dl. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as duplicate.
This comment was marked as duplicate.
The issue is fixed (until some new player breaks the hack) in the master code. Follow updating instructions in #31530 until a new release is made. |
* https://github.com/ytdl-org/youtube-dl: [YouTube] Fix `KeyError QV` in signature extraction failed * temporarily force missing global definition into sig JS * improve test: thanks yt-dlp/yt-dlp#7327 (comment) * resolves ytdl-org#32314 [jsinterp] Don't find unrelated objects [jsinterp] Fix test for failed match in extract_object()
I'll leave this open for now as a honeypot for affected users ... |
This comment was marked as duplicate.
This comment was marked as duplicate.
@japandotorg, @masterivanic, @shankar-v, @stm32learn, @Arkansis2901, @NStuster: #32314 (comment) @thedtvn, you are not running the commit that you think you are, which would have been apparent if you'd posted the whole log. |
[Update] This issue is solved: see #32314 (comment).
Checklist
Verbose log
Description
I am unable to get the filename or download this video. I am using it in python code, but even from the command line the error above occurs.
The text was updated successfully, but these errors were encountered: