mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
Vimeo's unit test
This commit is contained in:
parent
d20ddf9da1
commit
04fa31b7f4
3 changed files with 86 additions and 2 deletions
|
@ -59,8 +59,7 @@ def response(resp):
|
|||
url = base_url + videoid
|
||||
title = p.unescape(extract_text(result.xpath(title_xpath)))
|
||||
thumbnail = extract_text(result.xpath(content_xpath)[0])
|
||||
publishedDate = parser.parse(extract_text(
|
||||
result.xpath(publishedDate_xpath)[0]))
|
||||
publishedDate = parser.parse(extract_text(result.xpath(publishedDate_xpath)[0]))
|
||||
embedded = embedded_url.format(videoid=videoid)
|
||||
|
||||
# append result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue