Forums

ProxyError "Cannot connect to proxy" Forbidden 403

Hello,

I've created a small python script to scrape a holidays site and send notifications to my mobile phone. I then tried to schedule it using pythonanyhwere's task service but it seems like it's not able to execute the script. I get the following error: requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.eortologio.net', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunne l connection failed: 403 Forbidden')))

Does the site have to be whitelisted first? Here's the link to it: https://www.eortologio.net/

Thanks.

We can whitelist sites if they provide an official public API; if that site has one, please post a link to the API docs.