mirror of
https://github.com/searxng/searxng
synced 2024-11-03 09:40:20 +00:00
add explanation of token
This commit is contained in:
parent
c8acd4a3b6
commit
05851978cf
@ -27,6 +27,8 @@ def request(query, params):
|
||||
params['url'] = search_url.format(url=url, query=urlencode({'q': query}))
|
||||
|
||||
params['headers'] = {
|
||||
# This token is used in the Twitter web interface (twitter.com). Without this header, the API doesn't work.
|
||||
# The value of the token has never changed (or maybe once a long time ago).
|
||||
# https://github.com/zedeus/nitter/blob/5f31e86e0e8578377fa7d5aeb9631bbb2d35ef1e/src/consts.nim#L5
|
||||
'Authorization': (
|
||||
"Bearer AAAAAAAAAAAAAAAAAAAAAPYXBAAAAAAACLXUNDekMxqa8h%2F40K4moUkGsoc%3DTYfbDKb"
|
||||
|
Loading…
Reference in New Issue
Block a user