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

impossible to download a video from youtube #18988

Closed
edouardduliege opened this issue Jan 24, 2019 · 0 comments
Closed

impossible to download a video from youtube #18988

edouardduliege opened this issue Jan 24, 2019 · 0 comments

Comments

@edouardduliege
Copy link

@edouardduliege edouardduliege commented Jan 24, 2019

Hi,

I use youtube-dl on Fedora 29:

[root@localhost ~]# dnf info youtube-dl
Paquets installés
Nom : youtube-dl
Version : 2018.12.17
Publication : 1.fc29

I have this error when I try to download a video from youtube:

[edouard@localhost Téléchargements]$ youtube-dl M0OAALb9WPo --verbose
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['M0OAALb9WPo', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.12.17
[debug] Python version 3.7.2 (CPython) - Linux-4.20.3-200.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine
[debug] exe versions: ffmpeg 4.0.3, ffprobe 4.0.3
[debug] Proxy map: {}
[youtube] M0OAALb9WPo: Downloading webpage
[youtube] M0OAALb9WPo: Downloading video info webpage
WARNING: unable to extract html5 player; 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.
[youtube] {22} signature length 40.40, html5 player None
[youtube] M0OAALb9WPo: Downloading player https://www.youtube.com/yts/jsbin/player_ias-vflSfmvrF/en_US/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1226, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1134, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1201, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 245, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 'encodeURIComponent'; 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 "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1226, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1134, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1201, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 245, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1226, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1134, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1201, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 245, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 508, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1847, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1236, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1226, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1134, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1201, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 245, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 'encodeURIComponent'; 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.

@dstftw dstftw closed this Jan 24, 2019
@ytdl-org ytdl-org locked and limited conversation to collaborators Jan 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.