Files
RSSHub/lib/v2/thepaper/featured.js
T
Ethan Shen 8ecad32db2 feat(route): add 澎湃明查 (#9380)
* feat(route): add 澎湃明查

* fix: 839studio routes

* docs: update example url

* fix: parseDate
2022-03-25 22:05:27 +08:00

15 lines
410 B
JavaScript

const utils = require('./utils');
module.exports = async (ctx) => {
const rootUrl = 'https://m.thepaper.cn';
const link = `${rootUrl}/list_page.jsp?&nodeid=25949&isList=1&pageidx=1`;
const items = await utils.ProcessFeed('.list_item_infor', link, ctx);
ctx.state.data = {
title: '澎湃新闻 - 首页头条',
link: `${rootUrl}/channel_25949`,
item: items,
};
};