url_eq = “http://public.fyers.in/sym_details/NSE_CM.csv”
nse_eq = pd.read_csv(url_eq, usecols = range(14), header = None)
The above code used to work till last weekend. Now it is giving the below error. Has anything changed? I want to get the list of all symbols.
HTTPError: HTTP Error 522:
Z4PBvkQGyF
(Inactive Member)
2
Hi @arindam_ghosh
Are you still facing same issue , Please let us know
Yes same issue I am facing now. I only run it once a week. Now I am running it and it is giving the same error.
The issue is still there. Any update @Z4PBvkQGyF ?
Z4PBvkQGyF
(Inactive Member)
5
Hi @arindam_ghosh
Please use this part of code while reading the CSV file
csv_url = "https://public.fyers.in/sym_details/NSE_FO.csv"
storage_options = {'User-Agent': 'Mozilla/5.0'}
df = pd.read_csv(csv_url, storage_options=storage_options)