Hi,
I have a daily task to scrape data. All has been working for over a month, but today I started getting errors when the API is requested. Here is the error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/lwarner100/.local/lib/python3.10/site-packages/derivslib/src/market.py", line 110, in get_options
df = pd.concat([f.result() for f in futures])
File "/home/lwarner100/.local/lib/python3.10/site-packages/derivslib/src/market.py", line 110, in <listcomp>
df = pd.concat([f.result() for f in futures])
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 446, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/lwarner100/.local/lib/python3.10/site-packages/derivslib/src/market.py", line 103, in request_api
The URL it is getting is https://query2.finance.yahoo.com/v7/finance/options/SPY
Let me know if anyone knows what's going on.