mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-19 06:38:55 +08:00
fix(route): geo daily photo (#7555)
* 完成issues#7485,在每日一图-国家地理中增加每日精选节点 * 修改文档和router位置 * 对日期pubDate规范进行了调整 * 优化调整获取内容逻辑,修改pubDate字段的获取方式 * 调整pubDate参数 * 删除代码中多余的console * 调整parse-date引用 * 调整时区 * issues-#7471,解决国家地理每日一图获取失败问题,因为网站更改,并且网站对图片进行了处理,所以调整获取方式。 * 删除无用代码 * 调整代码,错删了代码 * refactor: migrate to v2 * fix: nat geo photo of the day * fix: natgeo parseDate * style: lint * feat: radar for natgeomedia.com Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
This commit is contained in:
@@ -301,9 +301,10 @@ router.get('/t66y/:id/:type?', lazyloadRouteHandler('./routes/t66y/index'));
|
||||
// 色中色
|
||||
router.get('/sexinsex/:id/:type?', lazyloadRouteHandler('./routes/sexinsex/index'));
|
||||
|
||||
// 国家地理
|
||||
router.get('/natgeo/dailyphoto', lazyloadRouteHandler('./routes/natgeo/dailyphoto'));
|
||||
router.get('/natgeo/:cat/:type?', lazyloadRouteHandler('./routes/natgeo/natgeo'));
|
||||
// 国家地理 migrated to v2
|
||||
// router.get('/natgeo/dailyselection', lazyloadRouteHandler('./routes/natgeo/dailyselection'));
|
||||
// router.get('/natgeo/dailyphoto', lazyloadRouteHandler('./routes/natgeo/dailyphoto'));
|
||||
// router.get('/natgeo/:cat/:type?', lazyloadRouteHandler('./routes/natgeo/natgeo'));
|
||||
|
||||
// 一个
|
||||
router.get('/one', lazyloadRouteHandler('./routes/one/index'));
|
||||
|
||||
Reference in New Issue
Block a user