Using R, even if you copy the exact link with crumb, e.g.
https://query1.finance.yahoo.com/v7/finance/download/MSFT?period1=1463461200&period2=1494910800&interval=1d&events=history&crumb=XBOjLoYE5PS
or, at R cmd line,
SPY <- read.csv("https://query1.finance.yahoo.com/v7...&interval=1d&events=history&crumb=XBOjLoYE5PS")
*Full command is truncated here, just mouse over and read bottom of browser.
Yahoo server, still returns,
https:// URLs are not supported by the default method: using "wininet"
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : cannot open: HTTP status was '401 Unauthorized'
even though the popup downloader is available.
You need to use cookies now, a simple query isn't enough.