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

Failed to Get Video info from vk using youtube-dl with Unable to extract player params Error #22509

Closed
Mohamed-Hossam opened this issue Sep 25, 2019 · 3 comments

Comments

@Mohamed-Hossam
Copy link

@Mohamed-Hossam Mohamed-Hossam commented Sep 25, 2019

Youtube-dl version : 2019.09.12.1
Command : youtube-dl https://vk.com/video-143221468_456240738 -u USERNAME -p PASSWORD --print-json --skip-download --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://vk.com/video-143221468_456240738', '-u', 'PRIVATE', '-p', 'PRIVATE', '--print-json', '--skip-download', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.09.12.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-91434-gcced03dd66, ffprobe N-91434-gcced03dd66
[debug] Proxy map: {}
ERROR: Unable to extract player params; 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\ytdl-org\tmphopugs4t\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs4t\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs4t\build\youtube_dl\extractor\vk.py", line 406, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmphopugs4t\build\youtube_dl\extractor\common.py", line 1005, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract player params; 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.

@dstftw dstftw closed this Sep 25, 2019
@eust102
Copy link

@eust102 eust102 commented Sep 25, 2019

I'm having the same issue.

ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; 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 RegexNotFoundError('Unable to extract Initial JS player signature function name; 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.
Traceback (most recent call last):
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\common.py", line 529, in extract
ie_result = self._real_extract(url)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1989, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1352, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; 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 RegexNotFoundError('Unable to extract Initial JS player signature function name; 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\mod-script_2-1.py", line 81, in
ydl.download([i['id'].get('videoId')])
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\YoutubeDL.py", line 2008, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\YoutubeDL.py", line 819, in extract_info
self.report_error(compat_str(e), e.format_traceback())
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\YoutubeDL.py", line 624, in report_error
self.trouble(error_message, tb)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\YoutubeDL.py", line 594, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "C:\Users\govjobs\AppData\Local\Programs\Python\Python37\lib\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; 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 RegexNotFoundError('Unable to extract Initial JS player signature function name; 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.

@mikedigriz
Copy link

@mikedigriz mikedigriz commented Sep 26, 2019

Same issue
youtube-dl -U
youtube-dl is up-to-date (2019.09.12.1)

youtube-dl -f best https://vk.com/video-101982925_456247710 print-json --skip-download --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'best', u'https://vk.com/video-101982925_456247710', u'print-json', u'--skip-download', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.12.1
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-6-amd64-x86_64-with-debian-10.1
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
[vk] -101982925_456247710: Downloading webpage
ERROR: Unable to extract player params; 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 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vk.py", line 406, in _real_extract
'player params'),
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)

@eust102
Copy link

@eust102 eust102 commented Sep 26, 2019

Ok here was my solution. You have to update the youtube_dl. However when you do it you have to do it in the "Script" folder. So you have to go your command prompt. Then navigate to the "Script" folder. Uninstall the old youtube_dl by using the "pip uninstall youtube_dl" then install it by using the "pip install youtube_dl" Also put a copy of youtube_dl in the "Lib" folder.

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