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

Youtube: "ExtractorError: Unsupported JS expression u'$y(a,7)';" #2314

Closed
VorpalBlade opened this issue Feb 4, 2014 · 4 comments
Closed

Youtube: "ExtractorError: Unsupported JS expression u'$y(a,7)';" #2314

VorpalBlade opened this issue Feb 4, 2014 · 4 comments

Comments

@VorpalBlade
Copy link

@VorpalBlade VorpalBlade commented Feb 4, 2014

Trying to download https://www.youtube.com/watch?v=Hm1kUz_Ia2Y gives the following error:

$ youtube-dl https://www.youtube.com/watch?v=Hm1kUz_Ia2Y
[youtube] Setting language
[youtube] Hm1kUz_Ia2Y: Downloading webpage
[youtube] Hm1kUz_Ia2Y: Downloading video info webpage
[youtube] Hm1kUz_Ia2Y: Extracting video information
[youtube] Hm1kUz_Ia2Y: Encrypted signatures detected.
[youtube] Hm1kUz_Ia2Y: Downloading js player mVwz
WARNING: Writing cache to u'/home/vorpal/.cache/youtube-dl/youtube-sigfuncs/js_mVwz_90.json' failed: Traceback (most recent call last):
  File "/home/vorpal/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 369, in _extract_signature_function
    cache_res = res(test_string)
  File "/home/vorpal/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 530, in <lambda>
    return lambda s: initial_function([s])
  File "/home/vorpal/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 525, in resf
    res = interpret_statement(stmt, local_vars)
  File "/home/vorpal/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 460, in interpret_statement
    v = interpret_expression(expr, local_vars, allow_recursion)
  File "/home/vorpal/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 513, in interpret_expression
    raise ExtractorError(u'Unsupported JS expression %r' % expr)
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.

$ youtube-dl -U
youtube-dl is up-to-date (2014.02.04)

When I called it with --verbose a bit later, it worked however. This is not the first video that had this issue for a while after being uploaded.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 4, 2014

Duplicate of #2304. This has been fixed in youtube-dl 2014.02.04.1. Type youtube-dl -U` to update.

@phihag phihag closed this Feb 4, 2014
@VorpalBlade
Copy link
Author

@VorpalBlade VorpalBlade commented Feb 4, 2014

youtube-dl -U still tells me that 2014.02.04 is the latest. Some sort of caching going on?

@phihag
Copy link
Contributor

@phihag phihag commented Feb 4, 2014

Yes, GitHub takes time to rebuild the pages. This should be done now. Can you retry? My machines are updating fine.

@VorpalBlade
Copy link
Author

@VorpalBlade VorpalBlade commented Feb 16, 2014

Sorry, been out of town for a while. It definitely works now, but that is probably of no help.

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
2 participants
You can’t perform that action at this time.