mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 05:59:00 +08:00
13 lines
341 B
JavaScript
13 lines
341 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/movies?p=${time}&t=${category}`;
|
|
|
|
const title = 'JavDB';
|
|
|
|
ctx.state.data = await utils.ProcessItems(ctx, currentUrl, title);
|
|
};
|