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

Can't download YouTube videos #20238

Closed
sahil-lakhwani opened this issue Mar 3, 2019 · 1 comment
Closed

Can't download YouTube videos #20238

sahil-lakhwani opened this issue Mar 3, 2019 · 1 comment

Comments

@sahil-lakhwani
Copy link

@sahil-lakhwani sahil-lakhwani commented Mar 3, 2019

youtube-dl.exe --verbose https://youtu.be/wvUQcnfwUUM

Output:

[youtube] wvUQcnfwUUM: Downloading webpage
[youtube] wvUQcnfwUUM: Downloading video info webpage
[youtube] {18} signature length 41.40, html5 player None
[youtube] wvUQcnfwUUM: Downloading player https://www.youtube.com/yts/jsbin/player_ias-vflX2rhq7/en_US/base.js
[debug] System config: []                                                                                                                        [debug] User config: []                                                                                                                          [debug] Custom config: []                                                                                                                        [debug] Command-line args: ['--verbose', 'https://youtu.be/wvUQcnfwUUM']                                                                         [debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252                                                                               [debug] youtube-dl version 2018.12.17                                                                                                            [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134                                                                                   [debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2                                                                                                [debug] Proxy map: {}                                                                                                                            WARNING: unable to extract html5 player; 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.                                      ERROR: Signature extraction failed: Traceback (most recent call last):                                                                             File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1226, in _decrypt_signature                                                                                                                                              File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1134, in _extract_signature_function                                                                                                                                     File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1201, in _parse_sig_js  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\jsinterp.py", line 245, in extract_function       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; type  youtube-dl -U  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; type  youtube-dl -U  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; 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\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1226, in _decrypt_signature                                                                                                                                              File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1134, in _extract_signature_function                                                                                                                                     File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1201, in _parse_sig_js  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\jsinterp.py", line 245, in extract_function       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; 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\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1226, in _decrypt_signature                                                                                                                                              File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1134, in _extract_signature_function                                                                                                                                     File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1201, in _parse_sig_js  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\jsinterp.py", line 245, in extract_function       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; type  youtube-dl -U  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\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\YoutubeDL.py", line 793, in extract_info            File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\common.py", line 508, in extract          File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1847, in _real_extract  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1236, in _decrypt_signature                                                                                                                                            youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):                                                   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1226, in _decrypt_signature                                                                                                                                              File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1134, in _extract_signature_function                                                                                                                                     File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\extractor\youtube.py", line 1201, in _parse_sig_js  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\build\youtube_dl\jsinterp.py", line 245, in extract_function       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; type  youtube-dl -U  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; type  youtube-dl -U  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; 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 Mar 3, 2019
@sahil-lakhwani
Copy link
Author

@sahil-lakhwani sahil-lakhwani commented Mar 3, 2019

Well, I had updated the CLI tool but didn't re-load powershell. Thank you.

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.