Closed Alexandros11 closed 4 years ago
googlenews = GoogleNews()
googlenews.setlang('de')
googlenews.setTimeRange('01/05/2019','01/05/2019')
googlenews.search('Frankfurt')
result = googlenews.result()
You create object three times with different parameters, that is why you only get the last googlenews = GoogleNews(start ='01/05/2019' ,end ='07/01/2019')
Whenever i try to get data it downloads only data in english. Here is the code:
and here is part of output:
I am using Ubuntu 18.04.4 LTS. I tried to change my system locale to LANG=de_DE.UTF-8. Unfortunately, it didnt help... Thank you in advance.