#1049401 yt-dlp returns 403 when downloading a video from youtube on bookworm. Version from backports work correctly #1049401
- Package:
- yt-dlp from stable repository
- Source:
- yt-dlp from stable repository
- Submitter:
- altmulig
- Date:
- 2023-08-16 06:21:03 UTC
- Severity:
- normal
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.
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
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.