-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TooManyRedirects: Exceeded 30 redirects. #248
Comments
Receiving the same issue since last few days |
++ |
same issue don't know how to overcome kindly resolve as soon as possible |
Read other posts |
It's mainly because the package uses NSE's old website URLs. However, those URLs no longer work as the NSE website got updated. It will take time for this issue to be resolved. |
New website URL : https://www.niftyindices.com/reports/historical-data |
any workaround for this? |
We do have some other packages like yfinance as an alternative |
Use this insted : NSE-HISTORY-SCRAPER |
created a new project for New NSE API https://github.com/pratik141/nsedt Soon add other APIs also |
TooManyRedirects Traceback (most recent call last)
in <cell line: 1>()
----> 1 get_history(symbol="SBIN", start=date(2015,1,1), end=date(2015,1,31))
8 frames
/usr/local/lib/python3.9/dist-packages/requests/sessions.py in resolve_redirects(self, resp, req, stream, timeout, verify, cert, proxies, yield_requests, **adapter_kwargs)
164
165 if len(resp.history) >= self.max_redirects:
--> 166 raise TooManyRedirects('Exceeded {} redirects.'.format(self.max_redirects), response=resp)
167
168 # Release the connection back into the pool.
TooManyRedirects: Exceeded 30 redirects.
The text was updated successfully, but these errors were encountered: