Skip to content
Advertisement

Python error: urllib.error.HTTPError: HTTP Error 404: Not Found

I am building a python project for the school (YouTube video downloader), but when I run it, it appears this error: urllib.error.HTTPError: HTTP Error 404: Not Found I have already tried other codes from other people and no one worked, I think is my computer. What can I do?

Here’s the code:

JavaScript

And here is the terminal: Terminal

Terminal

Advertisement

Answer

I tested: code doesn’t work with pytube-10.4.1 but works with the newest pytube-10.8.3

It seems YouTube changed something on server and it needed changes in pytube.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement