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

ersion 2014.11.13.3 - RegexNotFoundError: Unable to extract Initial JS player signature function name #4194

Closed
haquangvu opened this issue Nov 14, 2014 · 2 comments

Comments

@haquangvu
Copy link

@haquangvu haquangvu commented Nov 14, 2014

Here's the debug log. Thanks a lot.

Failed to extract signature: 
[youtube] (YSD video): Downloading js player vflBuyJ2c
Traceback (most recent call last):
  File "./sighelper.py", line 46, in <module>
    print(sig_extractor._decrypt_signature(sig, u'(YSD video)', url, False))
  File "/var/www/html/share/ytdata/youtube-dl/youtube_dl/extractor/youtube.py", line 489, in _decrypt_signature
    u'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/var/www/html/share/ytdata/youtube-dl/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
    video_id, player_url, s
  File "/var/www/html/share/ytdata/youtube-dl/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/var/www/html/share/ytdata/youtube-dl/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
    u'Initial JS player signature function name')
  File "/var/www/html/share/ytdata/youtube-dl/youtube_dl/extractor/common.py", line 391, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.
; 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.
@phihag
Copy link
Contributor

@phihag phihag commented Nov 14, 2014

Be sure to call youtube-dl with the --verbose flag and include its complete output

If this is the indeed the complete output, then something is seriously wrong. It should start along the lines of [debug] System config: []. It also looks like you are running YSD instead of youtube-dl (see our FAQ about these issues). If that's the case, file the bug on YSD.

I'm closing this issue now since there is not enough information to solve it. If there is a command invoking youtube-dl that shows this behavior (hint: We need at least the video ID), please comment and we'll reopen it. Thanks!

@phihag phihag closed this Nov 14, 2014
@ausbin
Copy link
Contributor

@ausbin ausbin commented Nov 14, 2014

@haquangvu, This issue disappeared when I upgraded from 2014.11.09 to 2014.11.13.2. I'm pretty sure that commit 894dd86 fixed it.

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.