mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 07:12:51 +08:00
13 lines
343 B
JavaScript
13 lines
343 B
JavaScript
const utils = require('./utils');
|
|
|
|
module.exports = async (ctx) => {
|
|
const category = ctx.params.category ?? 'censored';
|
|
const time = ctx.params.time ?? 'daily';
|
|
|
|
const currentUrl = `/rankings/video_${category}?period=${time}`;
|
|
|
|
const title = 'JavDB';
|
|
|
|
ctx.state.data = await utils.ProcessItems(ctx, currentUrl, title);
|
|
};
|