Forums

reqests_html doesn't work on the server

Hello, I've been trying to run a python script that scrapes a few websites and creates a JSON file using gathered data. It was thoroughly tested locally and worked fine, but unfortunately on the pythonanywhere server the resulting file only consists of an empty dict. I've checked manually in a console that the response from get() is 403. May the problem be similar to that in this thread? https://www.pythonanywhere.com/forums/topic/28591/

We need more details. if you do not want to share it here on public forums, reach us at support@pythonanywhere.com