Hello, my script scrapes weather data starting on Jan 01, 2017 and populates a gsheet with historic and forecast data. I want to change the start date, so I made the change over here:
def scrape_history_data_once_local(self):
earliest_time = datetime.datetime.strptime("01.10.17 00:00", "%d.%m.%y %H:%M")
I got an error message saying that I need to upgrade gsheets, so I did that. After doing that I got the the following errors:
13:14 ~ $ python WeatherScraperV1.2.py
Warning: Could not get headers. 'cache-control'
Warning: Could not get headers. 'expires'
Warning: Could not get headers. 'x-forecast-api-calls'
error e:Bad response, status code: 193,lat:39.466671,lng:-8.2, insert forecast data failed
Warning: Could not get headers. 'cache-control'
Warning: Could not get headers. 'expires'
...
An ideas of how I can my script to run again would be much appreciated. Thanks a lot, Sand