Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Articles are not being fetched #84

Open
Sathvik-Ravula opened this issue Jan 30, 2024 · 3 comments
Open

Articles are not being fetched #84

Sathvik-Ravula opened this issue Jan 30, 2024 · 3 comments

Comments

@Sathvik-Ravula
Copy link

Sathvik-Ravula commented Jan 30, 2024

Hello,

I'm using this package for my project, and when I try to scrape data, after some time, I notice that I'm not getting any articles at all. Upon investigating the issue, it seems to be related to an IP problem. How can I overcome this?

P.S. I'm scraping articles for a year's time period.

I already tried the 'pip install certifi' one, it didn't work.

image

@LKFhk
Copy link

LKFhk commented Jan 31, 2024

i have similar error and unable to run the example as well

from gnews import GNews
google_news = GNews()
pakistan_news = google_news.get_news('Pakistan')
print(pakistan_news[0])
Traceback (most recent call last):
File "", line 1, in
IndexError: list index out of range

@thesystemera
Copy link

Same issue here, its like its just cut off the tap, I was getting fewer and fewer articles and now just zero. The strange thing is , is that if I say day back I'll get a few but if I ask for an hour back I get none! Does anyone have a solution, Time critical as this is Realtime analytics.

@NugCannon
Copy link

I'm finding it being flaky, sometimes works sometimes returns emtpy list. if anyone has ideas on how to diagnose the problem please share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants