diff --git a/assets/radar-rules.js b/assets/radar-rules.js index b1f8e5e89..5d5c74ede 100644 --- a/assets/radar-rules.js +++ b/assets/radar-rules.js @@ -1659,4 +1659,23 @@ }, ], }, + 't.me': { + _name: 'Telegram', + '.': [ + { + title: '频道', + docs: 'https://docs.rsshub.app/social-media.html#telegram', + source: '/:username', + target: '/telegram/channel/:username', + script: "({isChannel:document.querySelector('.tgme_action_button_label')})", + verification: (params) => params.isChannel, + }, + { + title: '频道', + docs: 'https://docs.rsshub.app/social-media.html#telegram', + source: '/s/:username', + target: '/telegram/channel/:username', + }, + ], + }, }); diff --git a/docs/en/social-media.md b/docs/en/social-media.md index 8cc3fb34a..3d9d669d0 100644 --- a/docs/en/social-media.md +++ b/docs/en/social-media.md @@ -106,7 +106,7 @@ Only for self-hosted ### Channel - + ::: tip diff --git a/docs/multimedia.md b/docs/multimedia.md index 71338e7e9..17836e760 100644 --- a/docs/multimedia.md +++ b/docs/multimedia.md @@ -470,6 +470,12 @@ pageClass: routes +## 追新番日剧站 + +### 更新列表 + + + ## 字幕库 ### 字幕列表 diff --git a/docs/social-media.md b/docs/social-media.md index 4e4fae86d..6700c0c06 100644 --- a/docs/social-media.md +++ b/docs/social-media.md @@ -376,7 +376,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性 ### 频道 - + ::: tip 提示 diff --git a/docs/study.md b/docs/study.md index 7ad3e3c27..fcfb5dcd6 100644 --- a/docs/study.md +++ b/docs/study.md @@ -4,6 +4,39 @@ pageClass: routes # 学习 +## 51VOA 美国之音 + +### 频道 + + + +| `:channel` | 对应网站栏目 | +| ----------- | -------------------------------------------- | +| standard | 常速英语(VOA Standard English ) | +| archive | 常速英语存档(VOA Standard English Archives ) | +| technology | 科技报道(Technology Report) | +| daily | 今日美国(This is America) | +| sciences | 科技报道(Science in the News) | +| health | 健康报道(Health Report) | +| education | 教育报道(Education Report) | +| economics | 经济报道(Economics Report) | +| culture | 文化艺术(American Mosaic) | +| events | 时事新闻(In the News) | +| stories | 美国故事(American Stories) | +| words | 词汇掌故(Words And Their Stories) | +| trending | 今日热点(Trending Today) | +| magazine | 新闻杂志(AS IT IS) | +| grammar | 日常语法(Everyday Grammar) | +| queries | 名师答疑(Ask a Teacher) | +| history | 美国历史(U.S. History) | +| park | 国家公园(America's National Parks) | +| president | 美国总统(America's Presidents) | +| agriculture | 农业报道(Agriculture Report) | +| exploration | 自然探索(Explorations) | +| people | 美国人物(People in America) | +| bilingual | 双语新闻(Bilingual News) | +| address | 总统演讲(President Address) | + ## CTFHub Calendar ### 查询国内外 CTF 赛事信息 diff --git a/docs/university.md b/docs/university.md index 025b9fe50..7a7a09424 100644 --- a/docs/university.md +++ b/docs/university.md @@ -24,6 +24,12 @@ pageClass: routes +## 安徽医科大学 + +### 研究生学院通知公告 + + + ## 北华航天工业学院 ### 新闻 @@ -992,6 +998,10 @@ https://rsshub.app/**nuist**/`bulletin` 或 https://rsshub.app/**nuist**/`bullet +### 清华大学招聘信息 + + + ## 山东大学 ### 软件学院通知 diff --git a/lib/router.js b/lib/router.js index 02069acbc..527702e4c 100644 --- a/lib/router.js +++ b/lib/router.js @@ -591,6 +591,7 @@ router.get('/lit/xwzx/:name?', require('./routes/universities/lit/xwzx')); router.get('/lit/tw/:name?', require('./routes/universities/lit/tw')); // 清华大学 +router.get('/thu/career', require('./routes/universities/thu/career')); router.get('/thu/:type', require('./routes/universities/thu/index')); // 北京大学 @@ -764,6 +765,9 @@ router.get('/ncwu/notice', require('./routes/universities/ncwu/notice')); // 中北大学 router.get('/nuc/:type', require('./routes/universities/nuc/index')); +// 安徽医科大学研究生学院 +router.get('/ahmu/news', require('./routes/universities/ahmu/news')); + // ifanr router.get('/ifanr/:channel?', require('./routes/ifanr/index')); @@ -2542,4 +2546,10 @@ router.get('/etoland/:bo_table', require('./routes/etoland/board')); // 辽宁工程技术大学教务在线公告 router.get('/lntu/jwnews', require('./routes/universities/lntu/jwnews')); +// 51voa +router.get('/51voa/:channel', require('./routes/51voa/channel')); + +// zhuixinfan +router.get('/zhuixinfan/list', require('./routes/zhuixinfan/list')); + module.exports = router; diff --git a/lib/routes/36kr/newsflashes.js b/lib/routes/36kr/newsflashes.js index a8cddcd67..ddbb8a2f2 100644 --- a/lib/routes/36kr/newsflashes.js +++ b/lib/routes/36kr/newsflashes.js @@ -3,24 +3,20 @@ const got = require('@/utils/got'); module.exports = async (ctx) => { const response = await got({ method: 'get', - url: `https://36kr.com/api/newsflash?per_page=30`, + url: `https://36kr.com/newsflashes`, headers: { - 'Content-Type': 'application/json; charset=utf-8', + Host: '36kr.com', + 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25', }, }); + const regexp = /