-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Getting error message for YouTube Videos (Signature extraction failed) #17457
Comments
Having the same issue too. |
And I too in Linux |
It looks like that YouTube shipped a new obfuscated JS player :( |
not working for for me when dling youtube... arch linux i3 latest linux kernel |
Can confirm issue. I propose the title is changed, as it has nothing to do with json information |
I believe I am having the same issue with the latest (2018.09.01) version. Trying to download This video yields the following output.
For the record this happens both on the Vero 4K box and my laptop Running Debian 9.2. |
Typical, well as we all know where this is a will there is a way and obfuscation is just a forlorn hope attempt at staving off the inevitable. |
Confirmed |
Guess I'll just have to wait on my 1440p synth wave video wallpaper lmao. |
Same issue here, although it appears to be just music-related videos that aren't working. |
Same for me on macOS High Sierra.
|
Also happens on this video from 2013: https://www.youtube.com/watch?v=B2f7Oy2HE_8 Edit: it's not a Vevo or verified channel, either. |
@p-f, possibly just a slow rollout or something. I can download your videos, but I was able to download https://www.youtube.com/watch?v=OrbuDWit1Co (also music) AFTER I had the error on another video and now it doesn't work any more either. |
@Akhlys Hmm you are probably right, I thought it could be just VEVO channels or videos uploaded from verified music channels. |
@p-f I got a crash from a video (linked above) that was not from a Vevo/verified channel. Not sure if there is any rhyme or reason to the new obfuscated player considering I can download a video from the same channel that was uploaded 5 days ago without any problem. Edit: I also just downloaded a video from a verified channel (uploaded yesterday), no trouble. Seems like a very randomized rollout. |
@dlucadou I've checked them again and they still work for me. As @Akhlys mentioned, they are most likely just rolling it out now and not every video was changed for everybody yet (since videos are hosted on multiple servers) |
Just noted the issue. Error: Signature extraction failed: |
I'm getting similar errors: youtube-dl -x --audio-format "mp3" "https://www.youtube.com/watch?v=5Kt-M5SPISY"
_extract_signature_function |
Possibly obfuscated using this: https://developers.google.com/closure/compiler/ |
I get the same symptoms with 2018-09-01 on Ubuntu 16.04.1 LTS (Xenial Xerus): youtube-dl --verbose -F "https://www.youtube.com/watch?v=nlpopwqIiq4" |
Stop posting "me too" |
***-mbp:Desktop foobard$ youtube-dl --verbose https://www.youtube.com/watch?v=a-4GMvayKcE ***-mbp:Desktop foobard$ youtube-dl -U |
Problem occurs in all videos where appears "downloading js player vflvABTsY". |
Same for me on Archlinux lastest kernel, with python 3.7 $ youtube-dl --verbose "https://www.youtube.com/watch?v=3wxyN3z9PL4" During handling of the above exception, another exception occurred: Traceback (most recent call last): |
@AvrilL161 you doesn't have installed git on your system |
@fawkeyes you can try download zip and install via |
C:\Users\AvrilL>pip install https://github.com/Khang-NT/youtube-dl/archive/fix_js_func_not_found.zip C:\Users\AvrilL>youtube-dl -F https://youtu.be/RO8VNHvLpPU |
vipinbihari, I cannot find youtube.py file. It is not under /usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/ In fact, there is not a single file or folder under /usr/local/lib/python2.7/dist-packages/ I did: and result is this: Any ideas? Thanks. |
It is possible to avoid pip (It can give some troubles in some environments), but you need to recompile from source, which is what I did. For not-so tech savory users:
However, this requires a bit of attention as this is python, and copy-pasting code can give troubles if you don't respect the indentation and you accidentally leave some typos in the code, so If you are not into this kind of stuff, I suggest you wait for a patched executable! Also doing it this way means you'll have to either manually update from source for every next version, or remove the executable and program files by hand and then switch back to your repo's version. So unless you really need it working right now for whatever reason, just wait for a patched version. Also yes, I didn't test it enough but the patch works. |
Almost there:
|
@PortNumber53 read the Error |
@Fatmice sorry... I focused only on |
C:\Users\AvrilL>pip install https://github.com/Khang-NT/youtube-dl/archive/fix_js_func_not_found.zip what to do next? |
how i recompile windows exe with this patch? |
I have tried the newest just released version 2018.09.08 (sig) and it's working great again! thank you devs! |
This is why I love this project. Way to go devs! |
I created a PR to push the fix to homebrew but it fails testing: Homebrew/homebrew-core#31896 |
Same problem, interesting that it also applies to videos where the music is altered in some form e.g. vocals only. |
Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2018.09.01. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If I try ' youtube-dl --skip-download --verbose --print-json 25lnfHkENm4 ' I often get:
This also happens for all other Youtube videos I've tested. I get this error just since today. The last 2 days I had no problems with printing the json video information. But sometimes it works.
Update:
Seems like this is not a problem with the '--print-json' argument. This also happens in other cases. (I just noticed it first with the 'print-json').
For ' youtube-dl --verbose 25lnfHkENm4 ' i get:
The text was updated successfully, but these errors were encountered: