kkdai / youtube

Download Youtube Video in Golang
MIT License
3.3k stars 430 forks source link

unexpected status code: 400 #320

Closed burtgit closed 6 months ago

burtgit commented 6 months ago

The error often occurs: "unexpected status code: 400"

shoce commented 6 months ago

i confirm. happens on my side as well.

inox9 commented 6 months ago

I can also confirm, error popups on random videos (not for every single one)

ppalone commented 6 months ago

Issue appears to be related to https://github.com/yt-dlp/yt-dlp/issues/9316

robrotheram commented 6 months ago

Seeing the same issue, I manually applied @ppalone fix into my own project and I do not see the 400 error.

natxo commented 6 months ago

yes, changing the version in client.go fixes the 400 issues.

natxo commented 6 months ago

Hi @kkdai,

  I applied the change mentioned in https://github.com/kkdai/youtube/pull/322/files manually and it fixed the issue for me as well.

I just retested, reverting the changes has my script return a 400 from youtube.

  Thanks for your support.

  Regards,

Natxo

-----Oorspronkelijk bericht----- Van:Chigozirim Igweamaka @.> Verzonden:zo 10-03-2024 15:47 Onderwerp:Re: [kkdai/youtube] unexpected status code: 400 (Issue #320) Aan:kkdai/youtube @.>; CC:Natxo Asenjo @.>; Mention @.>;

 

@natxo can you elaborate, please? What version fixes it?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.