mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
@@ -2,10 +2,10 @@ const got = require('@/utils/got');
|
||||
|
||||
// 发起 HTTP GET 请求
|
||||
module.exports = async (ctx) => {
|
||||
//传入参数
|
||||
// 传入参数
|
||||
const username = String(ctx.params.username);
|
||||
|
||||
//添加参数keyword以及判断传入的参数sfw
|
||||
// 添加参数keyword以及判断传入的参数sfw
|
||||
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
@@ -25,7 +25,7 @@ module.exports = async (ctx) => {
|
||||
// 源说明
|
||||
description: `Fur Affinity ${username}'s Watcher List`,
|
||||
|
||||
//遍历此前获取的数据
|
||||
// 遍历此前获取的数据
|
||||
item: data.map((item) => ({
|
||||
// 标题
|
||||
title: item,
|
||||
@@ -33,7 +33,7 @@ module.exports = async (ctx) => {
|
||||
description: `${username} was watched by ${item}`,
|
||||
// 链接
|
||||
link: `https://www.furaffinity.net/user/${item}/`,
|
||||
//由于源API未提供日期,故无pubDate
|
||||
// 由于源API未提供日期,故无pubDate
|
||||
})),
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user