Files
RSSHub/lib/routes-deprecated/gameres/list.js
T
2024-03-01 01:24:49 +08:00

9 lines
255 B
JavaScript

const utils = require('./utils');
module.exports = async (ctx) => {
const rootUrl = 'https://www.gameres.com';
const currentUrl = `${rootUrl}/list/${ctx.params.id}`;
ctx.state.data = await utils(ctx, currentUrl, '.feed-item-right a h3');
};