summaryrefslogtreecommitdiff
path: root/searx/engines/bing_news.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-05-27 12:08:50 +0200
committerAlexandre Flament <alex@al-f.net>2015-05-27 12:08:50 +0200
commit3d709211758bcd85c6cabc7619151065f0086868 (patch)
tree4cfae1bb0dcf0b0e7f1ebddbb1bd02499fbb414d /searx/engines/bing_news.py
parent37eb0fb1308bdbf78feb75d82e1e990c5b1bce64 (diff)
downloadsearxng-3d709211758bcd85c6cabc7619151065f0086868.tar.gz
searxng-3d709211758bcd85c6cabc7619151065f0086868.zip
[fix] bing_news
Diffstat (limited to 'searx/engines/bing_news.py')
-rw-r--r--searx/engines/bing_news.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py
index 1e5d361c1..56be4b912 100644
--- a/searx/engines/bing_news.py
+++ b/searx/engines/bing_news.py
@@ -65,7 +65,7 @@ def response(resp):
# parse publishedDate
publishedDateXPath = result.xpath('.//div[@class="sn_txt"]/div'
- '//span[contains(@class,"sn_ST")]'
+ '//div[contains(@class,"sn_ST")]'
'//span[contains(@class,"sn_tm")]')
publishedDate = escape(extract_text(publishedDateXPath))