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

400 Bad Request while logging in #24379

Closed
pcislocked opened this issue Mar 17, 2020 · 1 comment
Closed

400 Bad Request while logging in #24379

pcislocked opened this issue Mar 17, 2020 · 1 comment

Comments

@pcislocked
Copy link

@pcislocked pcislocked commented Mar 17, 2020

Checklist

  • 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: []
[debug] Command-line args: ['--yes-playlist', '-v', '-r', '512g', '--write-description', '--write-info-json', '--write-annotations', '--all-subs', '--embed-subs', '--no-call-home', '--geo-bypass', '--force-ipv4', '--write-all-thumbnails', '--embed-thumbnail', '--download-archive', 'channels-dl.log', '-i', '--add-metadata', '-f', 'bestvideo+bestaudio/best', '-o', 'channels\\%(uploader)s-%(uploader_id)s\\%(upload_date)s-%(title)s\\%(id)s.%(ext)s', '--username', 'PRIVATE', '--password', 'PRIVATE', '-a', 'p1.txt', '--']
[debug] Batch file urls: ['https://www.youtube.com/user/pcislocked/videos']
[debug] Encodings: locale cp1254, fs mbcs, out cp857, pref cp1254
[debug] youtube-dl version 2020.03.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg N-90094-ga877d22d9a, ffprobe N-90094-ga877d22d9a
[debug] Proxy map: {}
[youtube:user] Downloading login page
[youtube:user] Looking up account info
[youtube:user] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request
[youtube:user] pcislocked: 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] UUQ6kFmzTlueIQRuaQGDHWQQ: Downloading webpage
[download] Downloading playlist: Uploads from pcislocked_tr
[youtube:playlist] playlist Uploads from pcislocked_tr: Downloading 30 videos
[download] Downloading video 1 of 30
[youtube] Downloading login page
[youtube] Looking up account info
[youtube] Logging in
WARNING: Unable to log in: HTTP Error 400: Bad Request
[youtube] rjXjxRG_tuA: Downloading webpage
WARNING: video doesn't have subtitles
[youtube] rjXjxRG_tuA: Downloading MPD manifest
[info] Writing video description to: channels\pcislocked-pcislocked\20200306-erdogan hits assad hard 2020 drone footage ضربة كبيرة القضيب\rjXjxRG_tuA.description
WARNING: There are no annotations to write.
[info] Writing video description metadata as JSON to: channels\pcislocked-pcislocked\20200306-erdogan hits assad hard 2020 drone footage ضربة كبيرة القضيب\rjXjxRG_tuA.info.json
[youtube] rjXjxRG_tuA: Downloading thumbnail ...
[youtube] rjXjxRG_tuA: Writing thumbnail to: channels\pcislocked-pcislocked\20200306-erdogan hits assad hard 2020 drone footage ضربة كبيرة القضيب\rjXjxRG_tuA.jpg

Description

it was supposed to download a private video, which is the latest upload on the channel. although this video is latest public upload on this channel, if it was logged in it should download the private video.

umm github says this is duplicate okay at least show me a workaround or something

@pcislocked
Copy link
Author

@pcislocked pcislocked commented Mar 17, 2020

Found a workaround using cookies.txt

@pcislocked pcislocked closed this Mar 17, 2020
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
1 participant
You can’t perform that action at this time.