Iceloof / GoogleNews

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

Set period and date range returns varying results #78

Closed Aakriti23 closed 2 years ago

Aakriti23 commented 2 years ago

I would like to get all the news articles in the past five years, however, the script only returns 99 most recent results. Is there a reason for this? If yes, how can this be tackled?

HurinHu commented 2 years ago

The period and date range are not always working properly, google is not always return the exact date within the selected range. That is one of google's optional parameter, you may need to do some data cleaning to make sure all the items are in the selected range.