mirror of https://github.com/searxng/searxng.git
[fix] twitter engine
This commit is contained in:
parent
bbd83f5a51
commit
48cffb141b
|
@ -27,8 +27,8 @@ search_url = base_url + 'search?'
|
|||
# specific xpath variables
|
||||
results_xpath = '//li[@data-item-type="tweet"]'
|
||||
link_xpath = './/small[@class="time"]//a'
|
||||
title_xpath = './/span[@class="username js-action-profile-name"]'
|
||||
content_xpath = './/p[@class="js-tweet-text tweet-text"]'
|
||||
title_xpath = './/span[contains(@class, "username")]'
|
||||
content_xpath = './/p[contains(@class, "tweet-text")]'
|
||||
timestamp_xpath = './/span[contains(@class,"_timestamp")]'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue