Repository navigation
Commit 02323dc
committed
Fix Akamai transport block + 8 broken endpoints
NSE's Akamai Bot Manager now blocks the old plain-requests/curl
nsefetch() outright (403/404 challenge pages). Rewrote it onto
curl_cffi with Chrome TLS impersonation + a cookie warm-up, and
rerouted several endpoints NSE quietly retired/moved:
- option-chain-indices, quote-equity, equity-stockIndices, the
niftyindices index family, and FNO lot sizes all work again
- oi_chain_builder now reports a real underlying value (#80)
- index_history/index_pe_pb_div/index_total_returns fixed against
niftyindices' new backend (#78)
- get_beta fixed; dividend_timeline() and share_holding() newly
implemented, were documented but never existed (#75)
- equity_history, derivative_history, expiry_history,
nse_largedeals_historical, security_wise_archive rerouted off the
dead /api/historical/* family onto its live replacement
- nse_circular("latest") fixed (was hitting a dead no-www URL)
- nse_quote(section="trade_info") remapped onto the new quote
endpoint's own fields instead of a dead section= route
Every public function signature is unchanged. Added curl_cffi as a
new dependency; nothing else. Live-tested end to end against the
real site, not mocked.1 parent a81bfcb commit 02323dc
3 files changed
Lines changed: 658 additions & 104 deletions
0 commit comments