#1049401 yt-dlp returns 403 when downloading a video from youtube on bookworm. Version from backports work correctly

#1049401#5
Date:
2023-08-15 09:33:58 UTC
From:
To:


yt-dlphttps://www.youtube.com/watch?v=PNXElmEUIJo
	yields ERROR: unable to download video data: HTTP Error 403: Forbidden for some videos (not all)
https://www.youtube.com/watch?v=aqz-KE-bpKQ  works while the above does not.

Replacing yt-dlp from stable with the version from backports-bookworm fixes the problem.

#1049401#16
Date:
2023-08-16 06:09:31 UTC
From:
To:
Howdy,

Sounds as if you've already found a solution to your problem then?

As websites change, you'll likely find that a static set of rules for how
to handle them, like yt-dlp, will increasingly miss the target.  A site
like YouTube changes often while some other sites do not, the generic
extractor is actually quite useful in and of itself.  But if your main use
is YouTube then you may find that the version from -backports serves you
best.



~Unit 193
Unit193 @ Libera
Unit193 @ OFTC

#1049401#21
Date:
2023-08-16 06:19:17 UTC
From:
To:
Correct i found a solution, i was not sure whether to report it or not,
though for regular stable repository users they would be prone to errors
when using it with youtube every now and then.

Thanks for looking into it.