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

ERROR: Unable to download webpage: #26427

Open
Ankesh054-official opened this issue Aug 24, 2020 · 4 comments
Open

ERROR: Unable to download webpage: #26427

Ankesh054-official opened this issue Aug 24, 2020 · 4 comments

Comments

@Ankesh054-official
Copy link

@Ankesh054-official Ankesh054-official commented Aug 24, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.07.28
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.8.5 (CPython) - Linux-5.7.0-kali1-amd64-x86_64-with-glibc2.29
[debug] exe versions: none
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.

Description

WRITE DESCRIPTION HERE

@Ankesh054-official
Copy link
Author

@Ankesh054-official Ankesh054-official commented Aug 24, 2020

ERROR: Unable to download webpage:

@terremoth
Copy link

@terremoth terremoth commented Aug 24, 2020

@Ankesh054-official please provide a better description with verbosity log, URL etc, following the template model above

@brokenzeus
Copy link

@brokenzeus brokenzeus commented Aug 24, 2020

Hello,

I'm having the exact same issue although I'm on Mac. Should I make a separate thread? I'll describe my issue on this thread with my verbose log since it's the same issue.

I've installed Python 3.8.5 using Pyenv. (I followed a guide, because I've no idea what I'm doing)
I installed Youtube-DL using HomeBrew.

I'm trying to download a youtube video but I receive the same error described in this thread + some strange lines (I have no clue what they are)

Verbose Log:

[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=91EDT_p5iHA']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.8.5 (CPython) - macOS-10.15.5-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] 91EDT_p5iHA: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/youtube_dl/utils.py", line 2734, in https_open
    return self.do_open(functools.partial(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/urllib/request.py", line 1353, in do_open
    raise URLError(err)```

I'll be happy to provide more information if necessary or create a separate thread 👍 

Kind Regards
@legnati
Copy link

@legnati legnati commented Aug 26, 2020

Hi, i got the same problem, can you help me? please. Here is the verbose output.
Thank you.

lofi$ youtube-dl --extract-audio --audio-format "mp3" --audio-quality "0" --verbose 'https://www.youtube.com/watch?v=wx2SmvQ8dtM'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--extract-audio', u'--audio-format', u'mp3', u'--audio-quality', u'0', u'--verbose', u'https://www.youtube.com/watch?v=wx2SmvQ8dtM']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 2.7.18 (CPython) - Linux-5.7.0-kali1-amd64-x86_64-with-debian-kali-rolling
[debug] exe versions: ffmpeg 4.3.1-2, ffprobe 4.3.1-2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] wx2SmvQ8dtM: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); 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.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

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.