Another Bhavcopy Downloader (ABCD)

Today , I worked on the rebol script file & fixed all the new URLs for NSE data grab by ABCD.

Interested parties can grab the full copy of ABCD here: https://mega.nz/file/9aJFXRAK#dt4z7TQ5TXgwqMe1U_HmOuW8wwTedcm5_Cm9J1DfetE

Note: I have used curl 64bit from the same ABCD root directory & kept a curl32.exe as backup, which needs to be renamed as curl.exe , when this utility is run on a 32bit Windows 10/11.

Tested working flawlessly on Win 11 x64.
does it run on win2007 ?

regards
Ali
 

josh1

Well-Known Member
It is working. today I downloaded for 6th Jan. Looks like NSE id doing some mischief at the beginning of every month
 

josh1

Well-Known Member
NSE has changed URL for downloading daily bhavcopy. :mad::mad::mad::mad::mad::mad: https://www.nseindia.com/all-reports
I am not able to find direct URL to download bhavcopy.
Users will have to download daily bhavcopy from above url into designated folder. For example - ABCD/NSE
Thereafter, put check mark against - Process Downloaded files only.
ABCD will convert the zip files in Getbhavcopy format.

Download for multiple days not possible now. :(
 
Last edited:

josh1

Well-Known Member
This is the new url ---

https://www.nseindia.com/api/reports?archives=[{%22name%22%3A%22CM%20-%20Bhavcopy(csv)%22%2C%22type%22%3A%22archives%22%2C%22category%22%3A%22capital-market%22%2C%22section%22%3A%22equities%22}]&date=31-Mar-2023&type=equities&mode=single

It works in browser.
However, curl is complaining. Can anyone help?
 

travi

Well-Known Member
This is the new url ---

https://www.nseindia.com/api/reports?archives=[{%22name%22%3A%22CM%20-%20Bhavcopy(csv)%22%2C%22type%22%3A%22archives%22%2C%22category%22%3A%22capital-market%22%2C%22section%22%3A%22equities%22}]&date=31-Mar-2023&type=equities&mode=single

It works in browser.
However, curl is complaining. Can anyone help?
will try. usually, its referrer but need to actually test the headers.
 

Similar threads