Click on this link to download the file: https://www.nseindia.com/content/indices/nifty50_mcwb.csv
Source: https://www.nseindia.com/products/content/equities/indices/nifty_50.htm