mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 20:27:52 +08:00
@@ -5,7 +5,7 @@ module.exports = async (ctx) => {
|
|||||||
|
|
||||||
const response = await axios({
|
const response = await axios({
|
||||||
method: 'get',
|
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: {
|
headers: {
|
||||||
Referer: `https://www.toutiao.com/search/?keyword=${encodeURIComponent(keyword)}`,
|
Referer: `https://www.toutiao.com/search/?keyword=${encodeURIComponent(keyword)}`,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user