Iceloof / GoogleNews

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

How to set date range #20

Closed millorito closed 4 years ago

millorito commented 4 years ago

I am wondering how to set the date range. In the readme it only specifies googlenews.setperiod('d'). What does the 'd' do? How would I be able to specify, for instance, January 1st 2020 until January 2nd 2020? Thanks!

Dauflo commented 4 years ago

@millorito Hello 👋

I just start using this lib and asked my self the same question. After a bit of research (reading source code), i found what 'd' do !

To my knowledge, you cant specify a time frame... Hope this will help you !