From 7ee8b395576c8f1def1ca74ca9d3303eb68901d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=99=8E=E6=95=85=E6=B4=9E?= <55782476+TigerCubDen@users.noreply.github.com> Date: Mon, 15 Feb 2021 21:29:50 +0800 Subject: [PATCH] Update journals.js --- lib/routes/furaffinity/journals.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/routes/furaffinity/journals.js b/lib/routes/furaffinity/journals.js index ca2af0cef2..5e1290e1c5 100644 --- a/lib/routes/furaffinity/journals.js +++ b/lib/routes/furaffinity/journals.js @@ -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`,