diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-03-18 15:56:22 +0100 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-03-18 15:56:22 +0100 |
commit | 993271bed30e24c7ae1e0f63b64e030829206f27 (patch) | |
tree | 4d07f76efbc6f8d4a0db39970bcb1d56452d7f25 /searx/engines/yahoo_news.py | |
parent | 337bd6d907503176eb94290c3f386ce88167dea8 (diff) | |
download | searxng-993271bed30e24c7ae1e0f63b64e030829206f27.tar.gz searxng-993271bed30e24c7ae1e0f63b64e030829206f27.zip |
extract publishDate from vimeo
Diffstat (limited to 'searx/engines/yahoo_news.py')
-rw-r--r-- | searx/engines/yahoo_news.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/yahoo_news.py b/searx/engines/yahoo_news.py index 53c8b07a7..43da93ede 100644 --- a/searx/engines/yahoo_news.py +++ b/searx/engines/yahoo_news.py @@ -53,7 +53,7 @@ def response(resp): - timedelta(hours=int(timeNumbers[0]))\ - timedelta(minutes=int(timeNumbers[1])) else: - publishedDate =parser.parse(publishedDate) + publishedDate = parser.parse(publishedDate) if publishedDate.year == 1900: publishedDate = publishedDate.replace(year=datetime.now().year) |