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

Unable to download webpage: HTTP Error 404: Not Found #16480

Closed
mr-aleks opened this issue May 17, 2018 · 1 comment
Closed

Unable to download webpage: HTTP Error 404: Not Found #16480

mr-aleks opened this issue May 17, 2018 · 1 comment
Labels

Comments

@mr-aleks
Copy link

@mr-aleks mr-aleks commented May 17, 2018

I wrote for myself a batch file from which I call youtube-dl, but if I pass the full link to the playlist, it gives me an error, if I pass only the id of the playlist then the download starts without errors.

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/playlist?list', 'PL38DFE33C78765533', '--write-thumbnail', '-f', 'bestvideo[ext!=webm]??+bestaudio[ext!=webm]??/best[ext!=webm]', '-o', '%(playlist)s/%(playlist_index)s ']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.05.09
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg git-2017-12-31-2906363, ffprobe git-2017-12-31-2906363
[debug] Proxy map: {}
[youtube:user] playlist: Downloading channel page
WARNING: Unable to download webpage: HTTP Error 404: Not Found
[youtube:user] playlist: Downloading page #1
ERROR: Unable to download webpage: HTTP Error 404: Not Found (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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplwokk3j3\build\youtube_dl\extractor\common.py", line 582, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmplwokk3j3\build\youtube_dl\YoutubeDL.py", line 2211, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 17, 2018

Most likely you did not properly pass/escape the URL. https://www.youtube.com/playlist?list=PL38DFE33C78765533 got split into https://www.youtube.com/playlist?list and PL38DFE33C78765533.

@dstftw dstftw closed this May 17, 2018
@dstftw dstftw added the invalid label May 17, 2018
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.