diff options
| author | Adam Tauber <adam.tauber@balabit.com> | 2015-02-02 09:36:43 +0100 |
|---|---|---|
| committer | Adam Tauber <adam.tauber@balabit.com> | 2015-02-02 09:36:43 +0100 |
| commit | 7f865356f9a6c1b40d0c668c59b3d081de618bac (patch) | |
| tree | 60e9acb27577968a41136c04f248c24871e83860 /searx/engines/vimeo.py | |
| parent | 03137eebd9fdfaa57452cb364c1bc9f31b243f67 (diff) | |
| parent | 5a16077455ef9e821a2b5f5f7e975be8a37ce83d (diff) | |
Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into Cqoicebordel-unit-tests
Conflicts:
searx/tests/test_engines.py
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 |