cpcbccr icon indicating copy to clipboard operation
cpcbccr copied to clipboard

pull.py not working

Open NoOne-play opened this issue 2 years ago • 1 comments
trafficstars

I was unable to execute pull.py. it runs but give response code 400 and unauthorized access in output database

NoOne-play avatar Sep 22 '23 06:09 NoOne-play

Hello Thej,

I read your blog post here and from this post came across this repository. I tried to use your scraper scripts to load airquality data from India. Unfortunately the response status of the requests) in the pull.py script is always 400 and the whole response is 400 Bad Request {"detail": "unauthorized request"}.

Is it possible that an API key or a session cookie is now required for the API?

Since this issue already exists, I thought I would share my experience here instead of creating a new issue.

jslorrma avatar Nov 03 '23 16:11 jslorrma