Forums

Network not reachable for query.yahooapis.com site

I'm having a flask app which uses yahoo_finance python module when i run the server here it states network unreachable, anyone please advise

That sounds like the module you're using is ignoring the proxy settings that are required for a free account to access the public Internet. Perhaps there's a better library out there that uses a more modern HTTP transport like the requests library?

Thanks, I got that. I'm now using google finance with requests module :)

Awesome, thanks for letting us know! (And I have a personal project I'm working on that uses market data, so it's good to know I don't have to rely on Yahoo :-)

BTW now that you have a paid account (thanks for upgrading!) then Yahoo will probably work too if you use it from a console that you've created after you upgraded.