Skip to content
Advertisement

youtube downloader by pyscript

I’m trying to make a youtube downloader by pyscript but I got this error

JavaScript
JavaScript

Advertisement

Answer

Web browsers do not allow applications to open TCP sockets. Your application depends on urllib which requires TCP sockets. The package urllib is not supported by any web browser due to the browser’s security sandbox.

Your application and its dependencies must be modified to use supported browser APIs such as fetch.

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