You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I see that we have fixed headers for making api requests to NSE. Problem with this is, if many users are requesting the NSE api, then NSE blocks the given headers. So no new reqports file will be downloaded for same headers.
Solution that I like to propose it, to use python header faker library to mock headers and then shoot request. That way all different users will have their own set of headers and wont get blocked.
Right now I see that we have fixed headers for making api requests to NSE. Problem with this is, if many users are requesting the NSE api, then NSE blocks the given headers. So no new reqports file will be downloaded for same headers.
Solution that I like to propose it, to use python header faker library to mock headers and then shoot request. That way all different users will have their own set of headers and wont get blocked.
Library: https://pypi.org/project/fake-headers/
The text was updated successfully, but these errors were encountered: