fix: twitter advanced search by duplicate encode (#4713)
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = async (ctx) => {
|
||||
}
|
||||
const keyword = ctx.params.keyword;
|
||||
const result = await utils.getTwit().get('search/tweets', {
|
||||
q: encodeURIComponent(keyword),
|
||||
q: keyword,
|
||||
count: 50,
|
||||
tweet_mode: 'extended',
|
||||
result_type: 'recent',
|
||||
|
||||
Reference in New Issue
Block a user