mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 12:21:31 +08:00
* fix(route) thepaper now use nextjs as backend * Id to Name for channel and list * summary ok * determine the detail by null check instead of type check * list_url for better reading * add failback of thumbnail * fix video article * add list for thepaper * add list for thepaper * del the dup line * small fix and optimize * add maintainer
43 lines
1.5 KiB
JavaScript
43 lines
1.5 KiB
JavaScript
module.exports = {
|
|
'thepaper.cn': {
|
|
_name: '澎湃新闻',
|
|
'.': [
|
|
{
|
|
title: '首页头条',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#peng-pai-xin-wen-shou-ye-tou-tiao',
|
|
source: ['/'],
|
|
target: '/thepaper/featured',
|
|
},
|
|
{
|
|
title: '频道',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#peng-pai-xin-wen-pin-dao',
|
|
source: ['/'],
|
|
target: (params, url) => `/thepaper/channel/${new URL(url).search(/channel_(\d+)/)}`,
|
|
},
|
|
{
|
|
title: '栏目',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#peng-pai-xin-wen-lie-biao',
|
|
source: ['/'],
|
|
target: (params, url) => `/thepaper/list/${new URL(url).search(/list_(\d+)/)}`,
|
|
},
|
|
{
|
|
title: '澎湃美数组作品集',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#peng-pai-xin-wen-peng-pai-mei-shu-zuo-pin-ji',
|
|
source: ['/'],
|
|
target: '/thepaper/839studio/:id',
|
|
},
|
|
],
|
|
},
|
|
'factpaper.cn': {
|
|
_name: '澎湃新闻',
|
|
'.': [
|
|
{
|
|
title: '明查',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#peng-pai-xin-wen-ming-cha',
|
|
source: ['/'],
|
|
target: '/thepaper/factpaper/:status',
|
|
},
|
|
],
|
|
},
|
|
};
|