fix(route)(twitter/keyword): wrong mode in web API (#10539)
* fix(route)(twitter/keyword): wrong mode in web API Signed-off-by: Rongrong <i@rong.moe> * fix: typo Signed-off-by: Rongrong <i@rong.moe>
This commit is contained in:
parent
1020a84317
commit
31feadcc77
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = {
|
||||
'/collection/:uid/:collectionId/:routeParams?': ['TonyRL'],
|
||||
'/followings/:id/:routeParams?': ['DIYgod'],
|
||||
'/keyword/:keyword/:routeParams?/:limit?': ['DIYgod', 'yindaheng98', 'Rongronggg9'],
|
||||
'/keyword/:keyword/:routeParams?': ['DIYgod', 'yindaheng98', 'Rongronggg9'],
|
||||
'/likes/:id/:routeParams?': ['xyqfer'],
|
||||
'/list/:id/:name/:routeParams?': ['xyqfer'],
|
||||
'/media/:id/:routeParams?': ['yindaheng98', 'Rongronggg9'],
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = (router) => {
|
||||
router.get('/collection/:uid/:collectionId/:routeParams?', require('./collection'));
|
||||
router.get('/followings/:id/:routeParams?', require('./followings'));
|
||||
router.get('/keyword/:keyword/:routeParams?/:limit?', require('./keyword'));
|
||||
router.get('/keyword/:keyword/:routeParams?', require('./keyword'));
|
||||
router.get('/likes/:id/:routeParams?', require('./likes'));
|
||||
router.get('/list/:id/:name/:routeParams?', require('./list'));
|
||||
router.get('/media/:id/:routeParams?', require('./media'));
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ const timelineKeywords = (keywords, params = {}) =>
|
|||
..._params,
|
||||
...params,
|
||||
q: keywords,
|
||||
tweet_search_mode: 'live',
|
||||
query_source: 'typed_query',
|
||||
pc: 1,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue