You are not logged in.
I have youtube (version youtube-dl 2020.01.15-1 ) fail when trying to download an audio file:
$ youtube-dl -x --audio-format "mp3" https://www.youtube.com/watch?v=GVwui6GcUc8
[youtube] GVwui6GcUc8: Downloading webpage
[youtube] GVwui6GcUc8: Downloading video info webpage
[youtube] GVwui6GcUc8: Downloading js player vfl7lL1_p
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/youtube.py", line 1383, in _decrypt_signature
func = self._extract_signature_function(
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/youtube.py", line 1297, in _extract_signature_function
cache_res = res(test_string)
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/youtube.py", line 1360, in <lambda>
return lambda s: initial_function([s])
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 258, in resf
res, abort = self.interpret_statement(stmt, local_vars)
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 56, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 91, in interpret_expression
right_val = self.interpret_expression(
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 188, in interpret_expression
x, abort = self.interpret_statement(
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 56, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 188, in interpret_expression
x, abort = self.interpret_statement(
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 56, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.8/site-packages/youtube_dl/jsinterp.py", line 211, in interpret_expression
raise ExtractorError('Unsupported JS expression %r' % expr)
youtube_dl.utils.ExtractorError: Unsupported JS expression '[function(c,d){d=(d'; 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 '[function(c,d){d=(d'; 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.
Is this an upstream error in the youtube-dl package or is there a workaround?
Last edited by mcloaked (2020-01-25 10:56:04)
Mike C
Offline
Online
Thank you Seth - I guess the fix will come through to the next released version.
Mike C
Offline
Fixed in youtube-dl 2020.01.24-1
Mike C
Offline