Iceloof / GoogleNews

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

Parse lexic date #53

Closed dmifer closed 3 years ago

dmifer commented 3 years ago

Add functionality to parse lexic date

HurinHu commented 3 years ago

https://travis-ci.com/github/Iceloof/GoogleNews/builds/216604875

name 'tmp_date' is not defined

Traceback (most recent call last): File "/home/travis/build/Iceloof/GoogleNews/test/test_search.py", line 91, in testResultHasDate print(result.get('date').lower()) AttributeError: 'datetime.datetime' object has no attribute 'lower'