Skip to content
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

Unsupported JS expression u'$y(a,7)' #2311

Closed
JacobHeubner opened this issue Feb 4, 2014 · 3 comments
Closed

Unsupported JS expression u'$y(a,7)' #2311

JacobHeubner opened this issue Feb 4, 2014 · 3 comments

Comments

@JacobHeubner
Copy link

@JacobHeubner JacobHeubner commented Feb 4, 2014

new to the application. Have about a dozen videos giving me this error, while another half-dozen work fine.

Running on Windows 7

C:\Users\Heubner\Downloads>youtube-dl http://www.youtube.com/watch?v=io2WOQ-3aVs -v

[youtube] Setting language
[youtube] io2WOQ-3aVs: Downloading webpage
[youtube] io2WOQ-3aVs: Downloading video info webpage
[youtube] io2WOQ-3aVs: Extracting video information
[youtube] io2WOQ-3aVs: Encrypted signatures detected.
[youtube] encrypted signature length 90 (46.43), itag 22, html5 player vfle-mVwz
[youtube] io2WOQ-3aVs: Downloading js player mVwz
[youtube] encrypted signature length 90 (46.43), itag 43, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 18, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 5, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 36, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 17, html5 player vfle-mVwz
[youtube] encrypted signature length 83 (42.40), itag 137, html5 player vfle-mVwz
[youtube] io2WOQ-3aVs: Downloading js player mVwz
[youtube] encrypted signature length 83 (42.40), itag 136, html5 player vfle-mVwz
[youtube] encrypted signature length 83 (42.40), itag 135, html5 player vfle-mVwz
[youtube] encrypted signature length 83 (42.40), itag 134, html5 player vfle-mVwz
[youtube] encrypted signature length 83 (42.40), itag 133, html5 player vfle-mVwz
[youtube] encrypted signature length 83 (42.40), itag 160, html5 player vfle-mVwz
[youtube] encrypted signature length 83 (42.40), itag 140, html5 player vfle-mVwz
[youtube] encrypted signature length 83 (42.40), itag 171, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 137, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 136, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 135, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 134, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 133, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 160, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 140, html5 player vfle-mVwz
[youtube] encrypted signature length 90 (46.43), itag 171, html5 player vfle-mVwz
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Writing cache to u'C:\Users\Heubner/.cache\youtube-dl\youtube-sigfuncs\js_mVwz_83.json' failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 369, in _extract_signature_function
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 962, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 530, in
File "youtube_dl\extractor\youtube.pyo", line 525, in resf
File "youtube_dl\extractor\youtube.pyo", line 460, in interpret_statement
File "youtube_dl\extractor\youtube.pyo", line 513, in interpret_expression
ExtractorError: Unsupported JS expression u'$y(a,7)'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type
youtube-dl -U to update.

WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 953, in process_info
File "youtube_dl\YoutubeDL.pyo", line 929, in dl
File "youtube_dl\downloader\common.pyo", line 290, in download
File "youtube_dl\downloader\http.pyo", line 52, in real_download
File "urllib2.pyo", line 127, in urlopen
File "urllib2.pyo", line 410, in open
File "urllib2.pyo", line 523, in http_response
File "urllib2.pyo", line 448, in error
File "urllib2.pyo", line 382, in _call_chain
File "urllib2.pyo", line 531, in http_error_default
HTTPError: HTTP Error 403: Forbidden

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 4, 2014

Ok, this is fixed in our repo (see #2304), but a new version haven't been released yet. I'm closing this issue, but you can subscribe to the one I have linked to get notified when a new version is released. Thanks for the report.

By the way, when you use the -v option you should also get some lines at the start like this:

[debug] System config: []
[debug] User config: ['--write-info-json', '--write-thumbnail']
[debug] Command-line args: ['http://www.youtube.com/watch?v=io2WOQ-3aVs']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.04
[debug] Python version 3.3.3 - Darwin-13.0.0-x86_64-i386-64bit
[debug] Proxy map: {}

If you report other issue, please also include that part. This info is really useful, among other things because it contains the youtube-dl version, the operating system and the options you have used. This helps us when debugging problems.

@jaimeMF jaimeMF closed this Feb 4, 2014
@JacobHeubner
Copy link
Author

@JacobHeubner JacobHeubner commented Feb 4, 2014

thanks very much. I couldn't capture that data, as it was basted off the screen, by the repeated messages. I will subscribe so I can get the fix.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 4, 2014

You can simply redirect the output to a file to get the full one.

In any case, this issue should be fixed in youtube-dl 2014.02.04.1. Type youtube-dl -U to update. Thank you for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.