Forums

HTTP Error 403 while using page library

Hello, guys. I'm getting such error all the time: enter image description here

Meanwhile on Django development server all works correct. Any idea? Sorry for mistake in topic title, it's about Pafy library.

Free users are restricted to a whitelist of sites: https://www.pythonanywhere.com/whitelist/ - could that be it?

Yes. Regrettably, googlevideo.com is not in whitelist :(

Our policy is to only whitelist sites with official api's (and restrict the access to the api part). Otherwise there are too many ways people can take advantage of our free accounts to conduct illegal activities. Let us know if you have any sites that have an official api but is not on the whitelist and we will add it for you.