mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 04:11:26 +08:00
@@ -5,7 +5,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
const response = await axios({
|
||||
method: 'get',
|
||||
url: `https://www.toutiao.com/search_content/?offset=0&format=json&keyword=${encodeURIComponent(keyword)}&autoload=true&count=20&cur_tab=1&from=search_tab`,
|
||||
url: `https://www.toutiao.com/api/search/content/?offset=0&format=json&keyword=${encodeURIComponent(keyword)}&autoload=true&count=20&cur_tab=1&from=search_tab`,
|
||||
headers: {
|
||||
Referer: `https://www.toutiao.com/search/?keyword=${encodeURIComponent(keyword)}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user