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] "Unable to log in: HTTP Error 400: Bad Request". thinks watchlater playlist doesn't exist. #23769

Closed
hub2git opened this issue Jan 18, 2020 · 3 comments
Labels

Comments

@hub2git
Copy link
Contributor

@hub2git hub2git commented Jan 18, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.01.15
  • 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 issues including closed ones

Verbose log

youtube-dl -v  https://www.youtube.com/playlist?list=WL 
[debug] System config: [u'-o', u'~/Video/youtube-dl/%(title)s.%(ext)s', u'--netrc']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/playlist?list=WL']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.15
[debug] Python version 2.7.17 (CPython) - Linux-5.3.0-26-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:watchlater] Downloading login page
[youtube:watchlater] Looking up account info
[youtube:watchlater] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request
[youtube:watchlater] WL: Downloading webpage
ERROR: This playlist does not exist.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 3237, in _real_extract
    _, playlist = self._extract_playlist('WL')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 2737, in _extract_playlist
    raise ExtractorError(message, expected=True)
ExtractorError: This playlist does not exist.

Description

I believe my netrc file is set up correctly.
My youtube-dl.conf points to the netrc file.

I dunno why youtube-dl can't access my watchlater playlist. :(

@dstftw dstftw closed this Jan 18, 2020
@dstftw dstftw added the duplicate label Jan 18, 2020
@hub2git
Copy link
Contributor Author

@hub2git hub2git commented Jan 18, 2020

dstftw, duplicate of which? I see a 2018 one, and it says the bug has been fixed in a later version. I have a 2020 version of youtube-dl and i still have this bug.

@marcioandreyoliveira
Copy link

@marcioandreyoliveira marcioandreyoliveira commented Jun 12, 2020

The same problem is happening to me.

I'm using the .exe for windows version v2020.06.06. I get the same message (WARNING: Unable to log in: HTTP Error 400: Bad Request) providing credentials in command line as well as in configuration file.

I agree with hub2git that it is a new bug.

Regards.

@OceanFifty
Copy link

@OceanFifty OceanFifty commented Jun 30, 2020

The error persists when switching to another computer.
Adding cookies worked for me.

However, I found it only working when selecting "Http Only" mode on the cookie extractor.
I used https://addons.mozilla.org/en-US/firefox/addon/export-cookies-txt/?src=search on Mozilla Firefox.
https://i.imgur.com/IrtG7xg.png

Also, make sure you are using the correct password.

With this workaround I still get the HTTP 400 - error, but it proceeds to download my liked videos playlist anyhow. This means youtubedl is accessing my google account to get the job done despite the error.

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.