mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 14:07:54 +08:00
@@ -16,7 +16,11 @@ module.exports = async (ctx) => {
|
|||||||
const link = map.get(type).link;
|
const link = map.get(type).link;
|
||||||
|
|
||||||
const api = `https://i.match.qq.com/ninjayc/guyu?action=guyu&channelid=${channelid}&p=0&num=10`;
|
const api = `https://i.match.qq.com/ninjayc/guyu?action=guyu&channelid=${channelid}&p=0&num=10`;
|
||||||
const response = await axios.get(api);
|
const response = await axios({
|
||||||
|
method: 'get',
|
||||||
|
url: api,
|
||||||
|
headers: { Referer: link },
|
||||||
|
});
|
||||||
const list = response.data.data;
|
const list = response.data.data;
|
||||||
|
|
||||||
const out = await Promise.all(
|
const out = await Promise.all(
|
||||||
|
|||||||
Reference in New Issue
Block a user