Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
YouTube "Error 403: Forbidden" #24899
Comments
|
Its duplicate with what? |
|
Can you please re-open this? |
|
I'm having the same issue right now, would like to know what it's a duplicate of as well. |
|
I had a similar issue, I'm guessing this is a duplicate of #23638. |
|
@CptCaptain --rm-cache-dir solved it for me, thank you. |
|
I use youtube_dl as a library, so I added EDIT: OK found it. I had to: with youtube_dl.YoutubeDL(opts) as ydl:
try:
ydl.cache.remove()
ydl.download([url])
except youtube_dl.utils.DownloadError as err:
print(err)Thank you guys! |
Using that amendment fixed it on YouTube iOS (Pythonista) also, so thank you for that. with YoutubeDL(opts) as ydl:
try:
ydl.cache.remove()
ydl.download([url])
except youtube_dl.utils.DownloadError as err:
print(err)
ydl.download([url]) |
Checklist
Verbose log
Description
This error started some 10-12 hours ago.
Checked it with other urls, and with Python 2.
Its not videos that need age authentication or something similar.