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

HTTP Error 400: Bad Request - when logging into YouTube #24437

Closed
asoretmadolell opened this issue Mar 22, 2020 · 2 comments
Closed

HTTP Error 400: Bad Request - when logging into YouTube #24437

asoretmadolell opened this issue Mar 22, 2020 · 2 comments
Labels

Comments

@asoretmadolell
Copy link

@asoretmadolell asoretmadolell commented Mar 22, 2020

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.03.08
  • 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: ['--ignore-errors', '--no-mark-watched', '--yes-playlist', '--download-archive', 'download-archive.txt', '--keep-fragments', '--batch-file', 'batch-file.txt', '--output', 'output.txt', '--no-overwrites', '--no-continue', '--write-description', '--write-info-json', '--write-annotations', '--write-thumbnail', '--write-all-thumbnails', '--verbose', '--write-sub', '--write-auto-sub', '--all-subs', '--username', 'PRIVATE']
[debug] Command-line args: ['--config-location', 'youtube-dl.conf']
[debug] Batch file urls: ['https://www.youtube.com/playlist?list=PLeqIyfZm7ehqfwe_u4LlrdmbVoUZ5y_gg']
Type account password and press [Return]:
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.03.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:playlist] Downloading login page
[youtube:playlist] Looking up account info
[youtube:playlist] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request
[youtube:playlist] PLeqIyfZm7ehqfwe_u4LlrdmbVoUZ5y_gg: Downloading webpage
ERROR: This playlist is private, use --username or --netrc to access it.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\extractor\youtube.py", line 2762, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\extractor\youtube.py", line 2685, in _extract_playlist
youtube_dl.utils.ExtractorError: This playlist is private, use --username or --netrc to access it.

Description

I'm trying to download a private playlist from my personal YouTube account. I've specified the username so that it prompts me for a password and after specifying it, it is unable to log in hence why the playlist still comes out as private. I've also tried putting the password in the CLI with no luck.

I don't think there's anything specifically wrong with my playlist. I think it happens with every private YouTube playlist.

This issue apparently appeared before, but I doubt there's any relation:
#12927

@dstftw dstftw closed this Mar 23, 2020
@dstftw dstftw added the duplicate label Mar 23, 2020
@asoretmadolell
Copy link
Author

@asoretmadolell asoretmadolell commented Mar 23, 2020

I don't understand. Like I said in my description, I did look at issue #12927 , but where is the fix there? I simply don't see it. All I see are "duplicate" and "closed" tags.
Thank you in advance.

@KJBurnett
Copy link

@KJBurnett KJBurnett commented Apr 4, 2020

I don't understand. Like I said in my description, I did look at issue #12927 , but where is the fix there? I simply don't see it. All I see are "duplicate" and "closed" tags.
Thank you in advance.

Tacking onto this. There's just a rabbit hole of closed and related and duplicate issues. This seems to still be a legitimately existing issue.

#12927
#12993

image

Cc @dstftw @asoretmadolell

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
3 participants
You can’t perform that action at this time.