diff options
Diffstat (limited to 'searx/engines/twitter.py')
-rw-r--r-- | searx/engines/twitter.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/engines/twitter.py b/searx/engines/twitter.py index 23393ac4d..c05c20fc2 100644 --- a/searx/engines/twitter.py +++ b/searx/engines/twitter.py @@ -12,13 +12,11 @@ content_xpath = './/p[@class="js-tweet-text tweet-text"]//text()' def request(query, params): - global search_url params['url'] = search_url + urlencode({'q': query}) return params def response(resp): - global base_url results = [] dom = html.fromstring(resp.text) for tweet in dom.xpath('//li[@data-item-type="tweet"]'): |