mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-24 02:08:55 +08:00
revert: 回滚财新旧版 API(#5703)
This commit is contained in:
@@ -3,7 +3,11 @@ const got = require('@/utils/got');
|
||||
module.exports = async (ctx) => {
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: 'https://mappsv5.caixin.com/index_page_v5/index_page_1.json',
|
||||
url: 'http://mapiv5.caixin.com//m/api/getWapIndexListByPage?page=1&callback=&_=1560140003179',
|
||||
headers: {
|
||||
Referer: `http://mapiv5.caixin.com/`,
|
||||
Host: 'mapiv5.caixin.com',
|
||||
},
|
||||
});
|
||||
|
||||
const data = response.data.data.list;
|
||||
|
||||
Reference in New Issue
Block a user