Scraping Historical Data from NSE website from AWS?

Hey all,

Has anyone had any luck scraping data off NSE website? My script seems to work on my laptop but fails on AWS. I am open to alternatives to AWS too. I just have to find a way to scrape data for backtesting purpose.

Also, what has been your experience with Zerodha Historical API w.r.t. accuracy of data and reliability?

Appreciate your time.

Cheers