Files
RSSHub/lib/v2/nytimes/radar.js
Kevin Schaul 95789aafaa feat(rotue): add nytimes/author route (#9356)
* Add nytimes/author route

* Removed unnecessary logger and fs usage

* refactor: migrate to v2
2022-03-22 22:52:49 +08:00

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',
},
],
},
};