Files
RSSHub/lib/v2/caareviews/book.js
T
2024-02-28 16:25:59 +08:00

15 lines
325 B
JavaScript

const { rootUrl, getList, getItems } = require('./utils');
module.exports = async (ctx) => {
const url = `${rootUrl}/reviews/book`;
const list = await getList(url);
const items = await getItems(ctx, list);
ctx.set('data', {
title: 'Book Reviews',
link: url,
item: items,
});
};