ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.43k stars 9.96k forks source link

cannot download from youtube #10033

Closed bmckalip closed 8 years ago

bmckalip commented 8 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.07. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl -v <your command line>
C:\Users\Brian>ytdl -v https://www.youtube.com/watch?v=bvgfF-EMLaw
[debug] System config: []
[debug] User config: [u'--ffmpeg-location', u'C:\\Program Files (x86)\\Youtube Downloader\\FFMPEG\\bin', u'--audio-format', u'mp3', u'--embed-thumbnail', u'-x']
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=bvgfF-EMLaw']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.03.06
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-79083-gc411e90, ffprobe N-79083-gc411e90
[debug] Proxy map: {}
[youtube] bvgfF-EMLaw: Downloading webpage
[youtube] bvgfF-EMLaw: Downloading video info webpage
[youtube] bvgfF-EMLaw: Extracting video information
[youtube] {22} signature length 40.45, html5 player en_US-vflYIVfbT
[youtube] bvgfF-EMLaw: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflYIVfbT/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 981, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 896, in _extract_signature_function
  File "youtube_dl\extractor\youtube.pyo", line 959, in _parse_sig_js
  File "youtube_dl\jsinterp.pyo", line 241, in extract_function
ExtractorError: Could not find JS function u'ur'; 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(u"Could not find JS function u'ur'; 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 "youtube_dl\extractor\youtube.pyo", line 981, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 896, in _extract_signature_function
  File "youtube_dl\extractor\youtube.pyo", line 959, in _parse_sig_js
  File "youtube_dl\jsinterp.pyo", line 241, in extract_function
ExtractorError: Could not find JS function u'ur'; 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 "youtube_dl\YoutubeDL.pyo", line 668, in extract_info
  File "youtube_dl\extractor\common.pyo", line 319, in extract
  File "youtube_dl\extractor\youtube.pyo", line 1554, in _real_extract
  File "youtube_dl\extractor\youtube.pyo", line 991, in _decrypt_signature
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "youtube_dl\extractor\youtube.pyo", line 981, in _decrypt_signature
  File "youtube_dl\extractor\youtube.pyo", line 896, in _extract_signature_function
  File "youtube_dl\extractor\youtube.pyo", line 959, in _parse_sig_js
  File "youtube_dl\jsinterp.pyo", line 241, in extract_function
ExtractorError: Could not find JS function u'ur'; 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(u"Could not find JS function u'ur'; 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.
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

when using the standard command to download a video from youtube, the above error is obtained and the download fails.

dstftw commented 8 years ago

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.