summaryrefslogtreecommitdiff
path: root/searx/engines/vimeo.py
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-31 19:49:54 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-31 19:49:54 +0100
commit04fa31b7f4d45182fa4ced6d6e23fd9ec4960d2e (patch)
treef7ade4bd9882c912e2c69dbe7c6851396e052638 /searx/engines/vimeo.py
parentd20ddf9da147647710127385a3ee95ff273d4fea (diff)
downloadsearxng-04fa31b7f4d45182fa4ced6d6e23fd9ec4960d2e.tar.gz
searxng-04fa31b7f4d45182fa4ced6d6e23fd9ec4960d2e.zip
Vimeo's unit test
Diffstat (limited to 'searx/engines/vimeo.py')
-rw-r--r--searx/engines/vimeo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/vimeo.py b/searx/engines/vimeo.py
index 39033c591..7577d12e1 100644
--- a/searx/engines/vimeo.py
+++ b/searx/engines/vimeo.py
@@ -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