Forums

403 response from Pythonanywhere but works fine on my local machine webscraping

Webscraping on pythonanywhere used to work for seatgeek api last month but now i am receiving a 403 error. i've ran my code on my local machine and runs perfectly fine.

would anyone have ideas on how to overcome this? i am a paid subscriber of pythonanywhere.

What is returned in the 403 response? It could have hints why it's being blocked.

this is the return text response

<html><head><title>seatgeek.com</title><style>#cmsg{animation: A 1.5s;}@keyframes A{0%{opacity:0;}99%{opacity:0;}100%{opacity:1;}}</style></head><body style="margin:0"><p id="cmsg">Please enable JS and disable any ad blocker</p><script data-cfasync="false">var dd={'rt':'c','cid':'AHrlqAAAAAMATLCpGc76Il4AL5Ws1w==','hsh':'60D428DD4BC75DF55D205B3DBE4AFF','t':'fe','s':43629,'e':'99d84fdc4f618a3284782aaf0b68e2165d06988c8be060e71b1954969af40d9d','host':'geo.captcha-delivery.com'}</script><script data-cfasync="false" src="https://ct.captcha-delivery.com/c.js"></script></body></html>

Yeah there isn't much clue here. I'm not sure what's going on. Since I can access the seatgeek site from a PythonAnywhere, it's definitely not a ip blocking issue on SeatGeeks side. Maybe this is a question for SeatGeek?