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

youtube-dl can't download youtube video on windows #12863

Closed
biggbuddy opened this issue Apr 27, 2017 · 2 comments
Closed

youtube-dl can't download youtube video on windows #12863

biggbuddy opened this issue Apr 27, 2017 · 2 comments
Labels

Comments

@biggbuddy
Copy link

@biggbuddy biggbuddy commented Apr 27, 2017

youtube-dl.exe ---proxy socks5://127.0.0.1:1080 -v -f 22 https://www.youtube.com/watch\?v\=CZfVF8-GZIQ && youtube-dl.e
xe --proxy socks5://127.0.0.1:1080 -f 22 https://www.youtube.com/watch\?v\=uobqhashZ74 && youtube-dl.exe --proxy socks5:
//127.0.0.1:1080 -f 22 https://www.youtube.com/watch\?v\=HuUTMUttUpU && youtube-dl.exe --proxy socks5://127.0.0.1:1080 -
f 22 https://www.youtube.com/watch\?v\=paXqAdQQwfw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--proxy', 'socks5://127.0.0.1:1080', '-v', '-f', '22', 'https://www.youtube.com/watch\\?v\\
=CZfVF8-GZIQ']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2017.04.26
[debug] Python version 3.6.1 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-85653-gb4330a0, ffprobe N-85653-gb4330a0
[debug] Proxy map: {'http': 'socks5://127.0.0.1:1080', 'https': 'socks5://127.0.0.1:1080'}
[generic] watch\?v\=CZfVF8-GZIQ: Requesting header
WARNING: Could not send HEAD request to https://www.youtube.com/watch\?v\=CZfVF8-GZIQ: HTTP Error 404: Not Found
[generic] watch\?v\=CZfVF8-GZIQ: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report thi
s 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.
  File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\youtube_dl\extractor\common.p
y", line 498, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\youtube_dl\YoutubeDL.py", lin
e 2106, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 532, in open
    response = meth(req, response)
  File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 642, in http_respo
nse
    'http', request, response, code, msg, hdrs)
  File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 570, in error
    return self._call_chain(*args)
  File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 504, in _call_chai
n
    result = func(*args)
  File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\urllib\request.py", line 650, in http_error
_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

windows 7
Python and Youtube-dl are all newest version

youtube-dl.exe --version
2017.04.26
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 27, 2017

You don't need to escape ? and =.

@dstftw dstftw closed this Apr 27, 2017
@dstftw dstftw added the invalid label Apr 27, 2017
@biggbuddy
Copy link
Author

@biggbuddy biggbuddy commented Apr 27, 2017

yes , that's the problem. Thanks!

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.