blackjack4494 / youtube-dlc

Command-line program to download various media from YouTube.com and other sites
https://blackjack4494.github.io/youtube-dlc/
The Unlicense
1.21k stars 13 forks source link

Unable to look up account info: HTTP Error 400: Bad Request #130

Open edmuliz opened 3 years ago

edmuliz commented 3 years ago

Verbose log

Giv playlist link (or 'y' single file 'm' mp3 file 'r' range 'u' update):
m

Gimme da single file link:
https://music.youtube.com/watch?v=tke6Gk4VXaI&list=RDCLAK5uy_kijGNzEJh9L_T8tbNp9
dPRLoP_CpR2aZE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-o', '~/Music/%(title)s.%(ext)s', '-v', '--list-for
mats', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '--no-check-certif
icate', '--embed-thumbnail', '--geo-bypass', '--fixup', '--ignore-errors', '--us
ername', 'PRIVATE', '--password', 'PRIVATE', '--no-playlist', 'https://music.you
tube.com/watch?v=tke6Gk4VXaI&list=RDCLAK5uy_kijGNzEJh9L_T8tbNp9dPRLoP_CpR2aZE']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dlc version 2020.09.16
[debug] Python version 3.7.1 (CPython) - Windows-8.1-6.3.9600-SP0
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {}
[youtube:playlist] Downloading login page
[youtube:playlist] Looking up account info
WARNING: Unable to look up account info: HTTP Error 400: Bad Request
[youtube:playlist] Downloading just video tke6Gk4VXaI because of --no-playlist
[youtube] Downloading login page
[youtube] Looking up account info
WARNING: Unable to look up account info: HTTP Error 400: Bad Request
[youtube] tke6Gk4VXaI: Downloading webpage
[youtube] Downloading just video tke6Gk4VXaI because of --no-playlist
[youtube] {18} signature length 111, html5 player 4b1ba5ea
[youtube] {137} signature length 111, html5 player 4b1ba5ea
[youtube] {248} signature length 111, html5 player 4b1ba5ea
[youtube] {136} signature length 111, html5 player 4b1ba5ea
[youtube] {247} signature length 107, html5 player 4b1ba5ea
[youtube] {135} signature length 111, html5 player 4b1ba5ea
[youtube] {244} signature length 111, html5 player 4b1ba5ea
[youtube] {134} signature length 111, html5 player 4b1ba5ea
[youtube] {243} signature length 111, html5 player 4b1ba5ea
[youtube] {133} signature length 107, html5 player 4b1ba5ea
[youtube] {242} signature length 111, html5 player 4b1ba5ea
[youtube] {160} signature length 111, html5 player 4b1ba5ea
[youtube] {278} signature length 111, html5 player 4b1ba5ea
[youtube] {394} signature length 107, html5 player 4b1ba5ea
[youtube] {140} signature length 111, html5 player 4b1ba5ea
[youtube] {249} signature length 111, html5 player 4b1ba5ea
[youtube] {250} signature length 111, html5 player 4b1ba5ea
[youtube] {251} signature length 111, html5 player 4b1ba5ea
[info] Available formats for tke6Gk4VXaI:
format code  extension  resolution note
249          webm       audio only tiny   60k , opus @ 50k (48000Hz), 2.54MiB
250          webm       audio only tiny   80k , opus @ 70k (48000Hz), 3.36MiB
140          m4a        audio only tiny  131k , m4a_dash container, mp4a.40.2@12
8k (44100Hz), 6.28MiB
251          webm       audio only tiny  158k , opus @160k (48000Hz), 6.70MiB
160          mp4        144x144    144p   15k , avc1.4d400b, 25fps, video only,
453.07KiB
133          mp4        240x240    240p   27k , avc1.4d400c, 25fps, video only,
693.82KiB
394          mp4        144x144    144p   34k , av01.0.00M.08, 25fps, video only
, 1022.17KiB
278          webm       144x144    144p   39k , webm container, vp9, 25fps, vide
o only, 1.12MiB
134          mp4        360x360    360p   65k , avc1.4d4015, 25fps, video only,
1.40MiB
242          webm       240x240    240p   90k , vp9, 25fps, video only, 2.60MiB
135          mp4        480x480    480p  126k , avc1.4d401e, 25fps, video only,
2.56MiB
243          webm       360x360    360p  157k , vp9, 25fps, video only, 3.99MiB
136          mp4        720x720    720p  276k , avc1.4d401f, 25fps, video only,
5.42MiB
244          webm       480x480    480p  281k , vp9, 25fps, video only, 8.41MiB
137          mp4        1080x1080  1080p  593k , avc1.640020, 25fps, video only,
 11.64MiB
247          webm       720x720    720p  604k , vp9, 25fps, video only, 15.71MiB

248          webm       1080x1080  1080p 1133k , vp9, 25fps, video only, 28.73Mi
B
18           mp4        360x360    360p  261k , avc1.42001E, 25fps, mp4a.40.2@ 9
6k (44100Hz), 12.66MiB (best)

Another single .mp3? (or 'n' to exit):

Description

Hi guys! I have Youtube Music Premium and it would be so awesome to get that sweet (141) 256kbps ACC, but I keep getting "WARNING: Unable to look up account info: HTTP Error 400: Bad Request". I tried using cookies too, but in vain. I read that there is a similar unresolved problem with youtube-dl with the dev keep ignoring it or something. Any ideas if this can be resolved? Or perhaps I'm doing something wrong? Thanks heaps!

P.s. this is my first report, let me know if I have missed something.

blackjack4494 commented 3 years ago

There is a kinda bit thread on reddit about it and some issue https://github.com/ytdl-org/youtube-dl/issues/26067
I do not have youtube music (premium or whatsoever). But no clue how difficult this problem will be. It seems complex.

edmuliz commented 3 years ago

Thanks for the reply. Apparently the described issue was closed incorrectly without any solution and the problem remains to be outgoing...