1
0
mirror of https://github.com/searx/searx synced 2024-12-12 16:56:47 +01:00

Merge pull request #309 from dalf/twitter

[fix] twitter engine
This commit is contained in:
Adam Tauber 2015-05-02 13:45:38 -04:00
commit 81850dd603

View File

@ -27,8 +27,8 @@ search_url = base_url + 'search?'
# specific xpath variables # specific xpath variables
results_xpath = '//li[@data-item-type="tweet"]' results_xpath = '//li[@data-item-type="tweet"]'
link_xpath = './/small[@class="time"]//a' link_xpath = './/small[@class="time"]//a'
title_xpath = './/span[@class="username js-action-profile-name"]' title_xpath = './/span[contains(@class, "username")]'
content_xpath = './/p[@class="js-tweet-text tweet-text"]' content_xpath = './/p[contains(@class, "tweet-text")]'
timestamp_xpath = './/span[contains(@class,"_timestamp")]' timestamp_xpath = './/span[contains(@class,"_timestamp")]'