I am trying to use wget to download the yahoo stock history file, https://query1.finance.yahoo.com/v7/finance/download/ARDM?period1=1504030392&period2=1506708792&interval=1d&events=history&crumb=TKe9axyOsuR
but it always reports an error code": Username/password authentication Failed.
However, if I visit that stock page https://finance.yahoo.com/quote/ARDM/history?p=ARDM I can click the datafile link, and download the CSV file without giving any user or password.
Any clue?