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 #23813

Closed
5 tasks done
donmiyamar opened this issue Jan 22, 2020 · 2 comments
Closed
5 tasks done

YouTube: Unable to log in: HTTP Error 400: Bad Request #23813

donmiyamar opened this issue Jan 22, 2020 · 2 comments

Comments

@donmiyamar
Copy link

Before you mark as duplicate

I've reviewed the previously "closed as duplicate" issues and cannot seem to find the original issue to comment on. Please document the issue # or docs to reference, so that I can go there. I'd be willing to comment on already closed issues to help others with the same issue as well.

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 -u "........................." -p "...................................." --download-archive "channels/hay-video.txt" --mark-watched --cookies "cookies.txt" -i -o "channels/%(playlist)s/%(title)s-%(id)s.%(ext)s" ""https://www.youtube.com/channel/UCCpKoJIkTW7eYk6Jxvhjz6g/videos""
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-u', 'PRIVATE', '-p', 'PRIVATE', '--download-archive', 'channels/hay-video.txt', '--mark-watched', '--cookies', 'cookies.txt', '-i', '-o', 'channels/%(playlist)s/%(title)s-%(id)s.%(ext)s', 'https://www.youtube.com/channel/UCCpKoJIkTW7eYk6Jxvhjz6g/videos']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.01.15
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2019-10-21-a174e5f, ffprobe git-2019-10-21-a174e5f
[debug] Proxy map: {}
[youtube:channel] Downloading login page
[youtube:channel] Looking up account info
[youtube:channel] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request
[youtube:channel] UCCpKoJIkTW7eYk6Jxvhjz6g: Downloading channel page
[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] UUCpKoJIkTW7eYk6Jxvhjz6g: Downloading webpage
[download] Downloading playlist: Uploads from Hay Video
[youtube:playlist] playlist Uploads from Hay Video: Downloading 2 videos
[download] Downloading video 1 of 2

Description

Seeing login warnings repeatedly when downloading from YouTube. Used to work without this error a few weeks ago, updated to the latest version and it is causing these warnings. I have logged out in a browser on the same machine and logged back in successfully using the same credentials. I have updated the cookies.txt after successful manual login as well.

It does seem to download the videos properly.

@donmiyamar
Copy link
Author

@dstftw I couldn't find any duplicate issue??

Before you mark as duplicate

I've reviewed the previously "closed as duplicate" issues and cannot seem to find the original issue to comment on. Please document the issue # or docs to reference, so that I can go there. I'd be willing to comment on already closed issues to help others with the same issue as well.

@donmiyamar
Copy link
Author

Found related issue #21313 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants