mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 23:00:48 +08:00
* Add nytimes/author route * Removed unnecessary logger and fs usage * refactor: migrate to v2
32 lines
1.1 KiB
JavaScript
32 lines
1.1 KiB
JavaScript
module.exports = {
|
|
'nytimes.com': {
|
|
_name: '纽约时报',
|
|
'.': [
|
|
{
|
|
title: '新闻简报',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#niu-yue-shi-bao',
|
|
source: '/zh-hans/series/daily-briefing-chinese',
|
|
target: '/nytimes/daily_briefing_chinese',
|
|
},
|
|
{
|
|
title: '畅销书排行榜',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#niu-yue-shi-bao',
|
|
source: ['/books/best-sellers/:category', '/books/best-sellers/'],
|
|
target: '/nytimes/book/:category',
|
|
},
|
|
{
|
|
title: '作者新闻',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#niu-yue-shi-bao',
|
|
source: '/by/:byline',
|
|
target: '/nytimes/author/:byline',
|
|
},
|
|
{
|
|
title: '新闻',
|
|
docs: 'https://docs.rsshub.app/traditional-media.html#niu-yue-shi-bao',
|
|
source: '/',
|
|
target: '/nytimes',
|
|
},
|
|
],
|
|
},
|
|
};
|