mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 12:21:31 +08:00
Update journals.js
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
|
||||
// 发起 HTTP GET 请求
|
||||
module.exports = async (ctx) => {
|
||||
//传入参数
|
||||
const username = String(ctx.params.username);
|
||||
|
||||
//添加参数username
|
||||
//添加参数username 和 发起 HTTP GET 请求
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: `https://faexport.spangle.org.uk/user/${username}/journals.rss`,
|
||||
|
||||
Reference in New Issue
Block a user