Iceloof / GoogleNews

Script for GoogleNews
https://pypi.org/project/GoogleNews/
MIT License
316 stars 88 forks source link

Is the API still functioning #31

Closed harkib closed 3 years ago

harkib commented 3 years ago

I used the API extensively for a few months. I came back it to it today after a few weeks and seem to not be returning any results. I could be blocked by some server on the way. Is the API still working for others?

Code used for test.

from GoogleNews import GoogleNews
googlenews = GoogleNews()
googlenews.search('tesla')
if googlenews.result() == []:
    print("failed")
else:
    print("passed")
    print(googlenews.get__links())
HurinHu commented 3 years ago

Yes, it is still working. I think your IP is being block by Google.