mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[fix] bing_news
This commit is contained in:
parent
37eb0fb130
commit
3d70921175
2 changed files with 17 additions and 17 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue