[youtube] Unable to download video data: HTTP Error 403: Forbidden

See original GitHub issue

Checklist

  • I’m asking a question and not reporting a bug or requesting a feature
  • I’ve looked through the README
  • I’ve searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue

Question

Hello. I have a problem downloading some videos from YouTube via yt-dlp. When I try to download it I get the following error: unable to download video data: HTTP Error 403: Forbidden. I read about this error and some tips like remove cache (–rm-chache-dir), but it did not help. I even deleted the cache manually. Such error is not with all of them, but with some videos. I hope for your help. What i can do. Thank you in advance.

Verbose log

yt-dlp -U https://www.youtube.com/watch?v=YwCEafBfEEM
Latest version: 2022.05.18, Current version: 2022.05.18
yt-dlp is up to date (2022.05.18)
[youtube] YwCEafBfEEM: Downloading webpage
[youtube] YwCEafBfEEM: Downloading android player API JSON
[info] YwCEafBfEEM: Downloading 1 format(s): 313+251
[download] Resuming download at byte 1580517
ERROR: unable to download video data: HTTP Error 403: Forbidden

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:44 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
AleksFimincommented, Jun 18, 2022

If turn on vpn and try it, it’s downloading. The strange thing is that other videos can be downloaded without vpn.

1reaction
gamer191commented, Jun 20, 2022

@coletdjnz Any idea what else could be cause this? If the issue is #1986, I wouldn’t expect a 403

even if it’s not #1986, it’s almost certainly fixed by #1986

Read more comments on GitHub >

github_iconTop Results From Across the Web

Youtube-dl library and ERROR 403: Forbidden when using ...
I added the "-v" switch to see if I could determine why the download was failing and, much to my surprise, the video...
Read more >
Impossible to download some videos (HTTP Error 403 - Reddit
Hey, so since two or three days ago, youtube-dl has been giving me the answer 'HTTPError: HTTP Error 403: Forbidden' on some videos,...
Read more >
Fix "Unable to download video data: HTTP Error 403
This guide explains how to fix "Unable to download video data: HTTP Error 403: Forbidden" Error When Downloading Media Files With Youtube-dl ...
Read more >
unable to download video data: HTTP Error 403: Forbidden
We weren't sure what that error meant (in the case of youtube-dl as the video is public) so we updated pip and youtube-dl...
Read more >
Error 403 when using youtube-dl - LinuxQuestions.org
Usually it will run on a different name, so it is now not <anything>, but <something-else>. The reason is the developers do not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found