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

Closed
marcello-pietrobon opened this issue Jun 17, 2020 · 2 comments
Closed

Youtube: Unable to log in: HTTP Error 400: Bad Request #25707

marcello-pietrobon opened this issue Jun 17, 2020 · 2 comments
Labels

Comments

@marcello-pietrobon
Copy link

@marcello-pietrobon marcello-pietrobon commented Jun 17, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • 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

PASTE VERBOSE LOG HERE
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.8.2 (CPython) - Linux-5.4.0-37-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2
[debug] Proxy map: {}
[youtube] Downloading login page
[youtube] Looking up account info
[youtube] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request

urls = ['https://www.youtube.com/watch?v=nwFloCPXzCs']
ydl_opts['usenetrc'] = True

## Description
the problem is pretty downward the login execution, where
youtube_dl/extractor/youtube.py line 172

challenge_results = req(
            self._CHALLENGE_URL, challenge_req,
            'Logging in', 'Unable to log in')
returns False

I'm logging in on my own account, so it's expected to work.
I have friend in a different country who reported to me the same problem.

If you give some hints on how to find out the correct way to login
 where this code may be broken I might fix it.

P.S. with almost 3000 open issues, I lost a bit of time trying to find out
 whether this issue was already reported or not. There should be a search
 engine for this, but I guess this is a github problem, I just don't know.
@marcello-pietrobon marcello-pietrobon changed the title Unable to log in: HTTP Error 400: Bad Request Youtube: Unable to log in: HTTP Error 400: Bad Request Jun 17, 2020
@dstftw dstftw closed this Jun 17, 2020
@dstftw dstftw added the duplicate label Jun 17, 2020
@marcello-pietrobon
Copy link
Author

@marcello-pietrobon marcello-pietrobon commented Jun 17, 2020

Apologies but I have no idea of what is the issue number that I'm duplicating
Is it possible to have the link or the number so I can find more info about it and maybe fix it?

@marcello-pietrobon
Copy link
Author

@marcello-pietrobon marcello-pietrobon commented Jun 17, 2020

Ah, ok, finally found
#23860
and here precisely describes MatrixView what to do:
#21313 (comment)

dsftw, what about maybe pinning this issue? loads of people seem to have it.
thanks though, for the work you do. Great job.

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.