I have used the following url to fetch the historical data from yahoo finance. From last 16th May, 2017 the url is not working.
Seems like they have changed the url and the new url is:
In the above changed URL has a session cookie which is crumb. Is there any idea how to get this cookie programmatically(in JAVA)?