diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-31 19:49:54 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-31 19:49:54 +0100 |
commit | 04fa31b7f4d45182fa4ced6d6e23fd9ec4960d2e (patch) | |
tree | f7ade4bd9882c912e2c69dbe7c6851396e052638 /searx/engines/vimeo.py | |
parent | d20ddf9da147647710127385a3ee95ff273d4fea (diff) | |
download | searxng-04fa31b7f4d45182fa4ced6d6e23fd9ec4960d2e.tar.gz searxng-04fa31b7f4d45182fa4ced6d6e23fd9ec4960d2e.zip |
Vimeo's unit test
Diffstat (limited to 'searx/engines/vimeo.py')
-rw-r--r-- | searx/engines/vimeo.py | 3 |
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 |