mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-16 16:44:53 +08:00
ref: prettier fix
This commit is contained in:
+1
-1
@@ -2599,4 +2599,4 @@ GitHub 官方也提供了一些 RSS:
|
||||
|
||||
参数:
|
||||
|
||||
- project: 项目的短名或者 `Project ID`. 项目的短名可以在地址栏获取到, 例如地址为 `https://minecraft.curseforge.com/projects/non-update`, 短名就为 `non-update`. `Project ID` 可在 `Overview` 中的 `About This Project` 中找到
|
||||
- project: 项目的短名或者 `Project ID`. 项目的短名可以在地址栏获取到, 例如地址为 `https://minecraft.curseforge.com/projects/non-update`, 短名就为 `non-update`. `Project ID` 可在 `Overview` 中的 `About This Project` 中找到
|
||||
|
||||
@@ -10,7 +10,8 @@ module.exports = async (ctx) => {
|
||||
const { data } = projectFilesReq;
|
||||
const $ = cheerio.load(data);
|
||||
const projectName = $('.project-title span').text();
|
||||
const reqs = $('.project-file-name-container > a').get()
|
||||
const reqs = $('.project-file-name-container > a')
|
||||
.get()
|
||||
.map(async (item) => {
|
||||
const el = $(item);
|
||||
const document = {};
|
||||
|
||||
Reference in New Issue
Block a user