I think that Yahoo have now lost their reliability. Anyway we can have some others alternative with API service for free EOD data:
https://www.cityfalcon.com/ and https://api.tiingo.com/docs/tiingo/daily