ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.37k stars 10.04k forks source link

Unsupported JS expression 'oE["do"](a,67)'; AND Signature extraction failed #13123

Closed BossDarkReaper closed 7 years ago

BossDarkReaper commented 7 years ago

Please follow the guide below


Before submitting an issue make sure you have:

What is the purpose of your issue?

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

MY command Line:
$@"-v --format m4a --hls-prefer-ffmpeg -o ""C:/DIRECTORY/%(title)s.%(ext)s"" {path}"
OUTPUT
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--format', 'm4a', '--hls-prefer-ffmpeg', '-o', 'C:/Users/johni/Desktop/MusicDiscord/MusicBotV2/MusicBot/src/MusicBotV2/Music/%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=pQwzVszVmQo']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2017.05.14
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg 3.2.4
[debug] Proxy map: {}
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1162, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1085, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1138, in <lambda>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 254, in resf
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 55, in interpret_statement
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 211, in interpret_expression
youtube_dl.utils.ExtractorError: Unsupported JS expression 'oE["do"](a,67)'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
 (caused by ExtractorError('Unsupported JS expression \'oE["do"](a,67)\'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  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; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1162, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1085, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1138, in <lambda>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 254, in resf
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 55, in interpret_statement
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 211, in interpret_expression
youtube_dl.utils.ExtractorError: Unsupported JS expression 'oE["do"](a,67)'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1162, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1085, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1138, in <lambda>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 254, in resf
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 55, in interpret_statement
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 211, in interpret_expression
youtube_dl.utils.ExtractorError: Unsupported JS expression 'oE["do"](a,67)'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\YoutubeDL.py", line 760, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\common.py", line 433, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1755, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1172, in _decrypt_signature
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1162, in _decrypt_signature
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1085, in _extract_signature_function
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\extractor\youtube.py", line 1138, in <lambda>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 254, in resf
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 55, in interpret_statement
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckrszvwp\build\youtube_dl\jsinterp.py", line 211, in interpret_expression
youtube_dl.utils.ExtractorError: Unsupported JS expression 'oE["do"](a,67)'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
 (caused by ExtractorError('Unsupported JS expression \'oE["do"](a,67)\'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  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; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

...

``` --- ### Description of your *issue*, suggested solution and other information The issue i'm having is shown in the output of the log. It will only download a .part of a video
amit177 commented 7 years ago

same over here

kahukowhai commented 7 years ago

Yours looks like Windows. I'm having a very similar error on Xubuntu. My output looks like:

youtube-dl --verbose https://www.youtube.com/watch?v=ysUhvqzKsyQ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=ysUhvqzKsyQ'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2017.05.14 [debug] Python version 2.7.12 - Linux-4.4.0-75-generic-x86_64-with-Ubuntu-16.04-xenial [debug] exe versions: ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ysUhvqzKsyQ: Downloading webpage [youtube] ysUhvqzKsyQ: Downloading video info webpage [youtube] ysUhvqzKsyQ: Extracting video information [youtube] {43} signature length 43.42, html5 player vfl8jhACg [youtube] ysUhvqzKsyQ: Downloading player https://www.youtube.com/yts/jsbin/player-vfl8jhACg/en_US/base.js ERROR: Signature extraction failed: Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature video_id, player_url, s File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function cache_res = res(test_string) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in return lambda s: initial_function([s]) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 254, in resf res, abort = self.interpret_statement(stmt, local_vars) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 55, in interpret_statement v = self.interpret_expression(expr, local_vars, allow_recursion) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 211, in interpret_expression raise ExtractorError('Unsupported JS expression %r' % expr) ExtractorError: Unsupported JS expression u'oE"do"'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. (caused by ExtractorError(u'Unsupported JS expression u\'oE"do"\'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature video_id, player_url, s File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function cache_res = res(test_string) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in return lambda s: initial_function([s]) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 254, in resf res, abort = self.interpret_statement(stmt, local_vars) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 55, in interpret_statement v = self.interpret_expression(expr, local_vars, allow_recursion) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 211, in interpret_expression raise ExtractorError('Unsupported JS expression %r' % expr) ExtractorError: Unsupported JS expression u'oE"do"'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 760, in extract_info ie_result = ie.extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract ie_result = self._real_extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1755, in _real_extract encrypted_sig, video_id, player_url, age_gate) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1172, in _decrypt_signature 'Signature extraction failed: ' + tb, cause=e) ExtractorError: Signature extraction failed: Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature video_id, player_url, s File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function cache_res = res(test_string) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in return lambda s: initial_function([s]) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 254, in resf res, abort = self.interpret_statement(stmt, local_vars) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 55, in interpret_statement v = self.interpret_expression(expr, local_vars, allow_recursion) File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 211, in interpret_expression raise ExtractorError('Unsupported JS expression %r' % expr) ExtractorError: Unsupported JS expression u'oE"do"'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. (caused by ExtractorError(u'Unsupported JS expression u\'oE"do"\'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

guyeshet commented 7 years ago

Same for me - ExtractorError: Unsupported JS expression u'oE"do"'; 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.