Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have tried to use youtube-dl -x to download the audio from some videos. It is giving the following error message:
Code:
[youtube] xfYS9ZE7-uo: Downloading webpage
[youtube] xfYS9ZE7-uo: Downloading player 72d3c60a
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1348, in _decrypt_signature
func = self._extract_signature_function(
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1265, in _extract_signature_function
cache_res = res(test_string)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1332, in <lambda>
return lambda s: initial_function([s])
File "/usr/lib/python3/dist-packages/youtube_dl/jsinterp.py", line 258, in resf
res, abort = self.interpret_statement(stmt, local_vars)
File "/usr/lib/python3/dist-packages/youtube_dl/jsinterp.py", line 56, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3/dist-packages/youtube_dl/jsinterp.py", line 211, in interpret_expression
raise ExtractorError('Unsupported JS expression %r' % expr)
youtube_dl.utils.ExtractorError: Unsupported JS expression 'try{var e=b.call(a.j.C,c)'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError("Unsupported JS expression 'try{var e=b.call(a.j.C,c)'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.")); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
This makes youtube-dl useless for the moment to me. Any ideas?
just some background information: youtube modifies their services continuously (you can say improve them if you wish). Therefore, the downloader must somehow track these undocumented changes. Youtube doesn't really care that the downloader works (or is compatible) either. So better to use an uptodate version, as it was suggested (Make sure you are using the latest version) or use a better alternative (see post #2)
I find this to be more evidence that Youtube is at fault: on further attempts, I find that sometimes the audio downloads normally; and sometimes it fails with that error message . It's unpredictable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.