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 Extractor Error #7977

Closed
fghiufe opened this issue Dec 23, 2015 · 4 comments
Closed

Youtube Extractor Error #7977

fghiufe opened this issue Dec 23, 2015 · 4 comments

Comments

@fghiufe
Copy link

@fghiufe fghiufe commented Dec 23, 2015

$ youtube-dl --version
2015.11.24
$ youtube-dl https://www.youtube.com/watch?v=ISO94EPI9x8
[youtube] ISO94EPI9x8: Downloading webpage
[youtube] ISO94EPI9x8: Downloading video info webpage
[youtube] ISO94EPI9x8: Extracting video information
[youtube] ISO94EPI9x8: Downloading js player en_US-vflnrstgx
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 856, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 771, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 834, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python3.5/site-packages/youtube_dl/jsinterp.py", line 241, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'gr'; 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("Could not find JS function 'gr'; 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.
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 23, 2015

You are using an outdated version of youtube-dl, you have to update it.

@jaimeMF jaimeMF closed this Dec 23, 2015
@fghiufe
Copy link
Author

@fghiufe fghiufe commented Dec 23, 2015

Is it not pushed to the official arch linux repo's yet? I used pacman to install youtube-dl and it's reporting that it's up to date.

$ sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra                   1772.2 KiB  5.15M/s 00:00 [######################] 100%
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
 there is nothing to do

$ sudo pacman -S youtube-dl
warning: youtube-dl-2015.11.24-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) youtube-dl-2015.11.24-1

Total Installed Size:  7.54 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) reinstalling youtube-dl                      [######################] 100%
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 23, 2015

From the FAQ entry I linked:

Unfortunately, there is nothing we youtube-dl developers can do if your distribution serves a really outdated version. You can (and should) complain to your distribution in their bugtracker or support forum.

You can still update it manually, but probably pacman will stop tracking it.

@fghiufe
Copy link
Author

@fghiufe fghiufe commented Dec 23, 2015

Ah, gotcha. Thanks very much!

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.