ranahaani / GNews

A Happy and lightweight Python Package that Provides an API to search for articles on Google News and returns a JSON response.
https://pypi.org/project/gnews/
MIT License
588 stars 100 forks source link

get_news fails on Google Cloud #63

Open murnanedaniel opened 12 months ago

murnanedaniel commented 12 months ago

On my local machine, .get_news works perfectly well, with and without a proxy.

However, on Google Cloud (for example GC Run), it returns no results every time. Is there some port or proxy that needs to be specified when running this on a cloud service?

brucewen05 commented 6 months ago

facing the same issue here too :(

NugCannon commented 1 week ago

Same. I have it set up in Google Cloud Run Job. I find that if I run force run it manually it sometimes works and sometimes returns empty list. however, when it's run by a cloud scheduler trigger it always fails (i.e. returns empty list)