Commit Graph
7893 Commits
Author SHA1 Message Date
karasuandTony 984eb4dad4 feat(route): hitcon (#15142)
* feat(route): hitcon

* type-only imports

* Update lib/routes/hitcon/zeroday.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/hitcon/zeroday.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/hitcon/zeroday.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* add art-template and pubDate

* fix: define __dirname

---------
2024-04-09 21:53:12 +08:00
SettingDust 88667c2b15 fix(modrinth): switch to ofetch since it's not suppor got.json() (#15166) 2024-04-09 21:32:45 +08:00
Andvari f14ae66fa2 fix(route/discourse): Replace got with ofetch. (#15169) 2024-04-09 21:14:12 +08:00
LMark 4bd6ab2ed3 fix(route): 日本経済新聞News (#15170)
* fix nikkei/news

* fix import
2024-04-09 20:54:52 +08:00
Andvari 96e29c143f fix(route/reuters): Replace got with ofetch. (#15155)
* fix(route/reuters): Replace `got` with `ofetch`.

* .
2024-04-09 01:58:38 +08:00
Mean 83fb4280a1 feat: buaa/sme适配新版路由规范 (#15154) 2024-04-08 15:38:04 +08:00
Shima Rin 4e7f0c187e fix(route): fix xianbao typo and parse (#15148) 2024-04-08 14:29:55 +08:00
lyqluisandTony 8757a93fa9 fix(route): /gov/moa/:suburl{.+} (#15012)
* fix(route): /gov/moa/:suburl{.+}

* fix(route): replace with endsWith & cache.tryGet

* Update lib/routes/gov/moa/moa.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/gov/moa/moa.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/gov/moa/moa.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: live news broadcast page & govpublic channel

* fix: correct spelling mistakes

---------
2024-04-08 03:18:43 +08:00
Ethan Shen dd58748c7e feat(route): add 中伦律师事务所中伦研究专业文章 (#15136)
* feat(route): add 中伦律师事务所中伦研究专业文章

* fix node path

* fix router
2024-04-08 02:13:37 +08:00
Tony b3a7186a1e docs: fix author github id
#1911, [skip ci]
2024-04-07 22:21:23 +08:00
DIYgod d7c23dcff5 fix(bilibili): vsearch, close #15105 2024-04-07 22:15:17 +08:00
Luna Mikaelsdóttir b26a7044f7 feat(route): add atptour (#15006)
* feat(route): add atptour

* fix: radix

* fix: remove puppeteer
2024-04-07 21:19:47 +08:00
Felix HsuandTony ccbe399002 fix(route): the Bloomberg RSS doesn't work after using the new ofetch as the 'got' lib (#15112)
* Fix the Bloomberg RSS by using the old/deprecated 'got' because the 'redirectUrls' feature is not supported in the new 'got' library.

* Use the redirected prop in RawResponse

* Use the ofetch.raw

* Update lib/routes/bloomberg/index.ts

Reformat the desc of Route

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

---------
2024-04-07 19:35:01 +08:00
DIYgod e7c233b1df Merge pull request #15141 from DIYgod/feature/errors
feat: better error message
2024-04-07 12:12:16 +01:00
DIYgod c145a72590 test: add invalid-parameter-error and config-not-found-error 2024-04-07 17:46:46 +08:00
DIYgod 79fcce2729 feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
Shima RinandTony 7fad84d9f6 feat(route): add 线报酷 (#15144)
* feat(route): add 线报酷

* Update lib/routes/xianbao/index.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/xianbao/index.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/xianbao/index.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

---------
2024-04-07 17:20:45 +08:00
DIYgod cef1ed1eb6 refactor: error types 2024-04-07 16:37:54 +08:00
lyqluis 2b59c835c4 fix(route): xueqiu user (#15140) 2024-04-07 16:35:07 +08:00
DIYgod efc2b2f5a4 test: fix parameter test text 2024-04-07 14:06:32 +08:00
DIYgod 2a6d5ac9f9 feat: better error message 2024-04-07 13:07:09 +08:00
cnkmmkandpull[bot] cb69f5032c feat(route): add 51cto (#14958)
* feat(route): add 51cto

增加了51cto的推荐列表

* Update rss.ts

* Update rss.ts

* fix(route): fix 51cto

* Update recommend.ts

调整 51cto,使用API来生成RSS。

* Update recommend.ts

* fix: request signing

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2024-04-07 06:23:13 +08:00
Tony 4296911775 fix(route): youtube utils (#15135) 2024-04-06 21:21:06 +08:00
MarisaandTony 98e493921e fix(route): huanqiu (#15107) (#15115)
* fix(route): huanqiu (#15107)

* fix(route): huanqiu (fix import)

* Update lib/routes/huanqiu/index.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/huanqiu/index.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/huanqiu/index.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

---------
2024-04-06 19:31:53 +08:00
Andvari db6eb1c96c fix(route/apnews): Refine link selector. (#15131) 2024-04-06 18:54:30 +08:00
Bin Wang 54cc62baa4 fix(core): add icon and logo back to atom feed (#15132)
icon and logo field are missing from atom feed after it's migrated to
tsx template. This PR adds them back.
2024-04-06 06:30:36 +00:00
Tony d9712b7fcb fix(route): line today publisher (#15126) 2024-04-06 06:09:02 +08:00
Tony 4eec3f6b2b fix(route): rsshub new docs link (#15123) 2024-04-06 01:28:55 +08:00
github-actions[bot] c943f67640 style: auto format 2024-04-05 16:56:45 +00:00
windytiany b2f3bcc5c3 fix(route): Kemono (#15099)
* Update index.ts

* Create source.art

* Update index.ts

* Fix index.ts

* Fix source.art

* Update index.ts

* Update index.ts
2024-04-06 00:55:17 +08:00
Tony 06312b195b fix: types in RadarItem 2024-04-06 00:42:21 +08:00
61d8079e6f feat(route): Add Shopify App store 搜索、App reviews (#14819)
* feat(route): 添加 Shopify App store 搜索、App reviews

* feat: remove unused var `index`

* Update lib/routes/shopify/apps/[handle].reviews.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* chore: auto build

* style: auto format

* fix: cr

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-06 00:35:38 +08:00
LyleLeeandTony c454200876 feat(route): Add 国家哲学社会科学文献中心 (#14737)
* feat(route) Add 国家哲学社会科学文献中心

* Adapt to new namespace

* Update lib/routes/ncpssd/newlist.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/ncpssd/newlist.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/ncpssd/newlist.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/ncpssd/newlist.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/ncpssd/newlist.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: cr

---------
2024-04-06 00:07:11 +08:00
Honahuku 9a41023746 feat(route): add watasuke.net (#14629)
* feat: add watasuke.net

* feat: add mdx docs

* feat: get data from og:description

* feat: add feed items

* refactor: migrate to v3

---------
2024-04-05 23:50:23 +08:00
Bin Wang 18ca90926f feat(route): add icon and logo to Bilibili dynamic (#15122)
Similar as #9353, but also add avatars as icon and logo
2024-04-05 23:25:19 +08:00
zvrrandzvrr c9910b7d79 feat(route): add dangyuanwang (#14535)
* feat(route): add dangyuanwang

* fiexd dangyuanwang doc example path

* fiexd dangyuanwang maintainer info

* feat(route): update dangyuanwang doc

* refactor: migrate to v3

---------

Co-authored-by: zvrr <zvrr@x.com>
2024-04-05 23:14:39 +08:00
Bin Wang 90e2e0263d fix(core): fix interaction fields in atom feeds (#15121)
In #9355, interaction fields are introduced to atom feeds to give RSS
readers more information. But it has been removed after the code is
refactored to use tsx templates. This PR adds them back.
2024-04-05 22:56:26 +08:00
Urabartin 860d7ad45f fix(route): jpxgmn (#15118) 2024-04-05 21:17:00 +08:00
github-actions[bot] 0e11352797 style: auto format 2024-04-05 11:29:19 +00:00
zcw159357andTony f78ee86792 fix(route): 迁移看雪路由 (#15064)
* 迁移看雪路由

* 迁移看雪路由

* Update lib/routes/kanxue/topic.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* 迁移看雪路由

---------
2024-04-05 19:27:42 +08:00
xtex 889c6d5fa8 feat(routes): Add more routes related to Minecraft (#14942)
* feat(routes): Add minecraft/blockedservers

* feat(routes): Add java-runtime

* fix(routes): Fix minecraft blockedservers

* style(routes): Commit suggestions from TonyRL

Update lib/routes/minecraft/blockedservers.ts

Update lib/routes/minecraft/java-runtime.ts

Update lib/routes/minecraft/blockedservers.ts

Update lib/routes/minecraft/java-runtime.ts

Commit suggestions

Update lib/routes/minecraft/java-runtime.ts

---------
2024-04-05 19:23:32 +08:00
zcw159357 5adcc66283 fix(route): 修复使用ofetch之后的nosec路由 (#15113) 2024-04-05 19:19:42 +08:00
Zhenlong Huang 42014ee78e feat(route): 添加Binance数字货币及交易对上新公告RSS (#15103)
* 添加Binance数字货币及交易对上新

* Update code per review comments
2024-04-05 19:13:47 +08:00
Enoch Ma 3ba4a634cf feat(route): support europechinese (#15019)
* support europechinese

* fix time
2024-04-05 03:52:02 +08:00
Ethan Shen 5da0ec13b0 feat(route): add 罗磊的独立博客 (#15104) 2024-04-05 00:26:17 +08:00
Ne0 a06159ac69 feat(route): 中国科学技术大学-数学科学学院 (#15095)
* ustc math school

* fixed pub date

* assume articles published at 12:00 UTC+8
2024-04-04 21:50:18 +08:00
JimenezLi b47839e41c fix(route): xhu (#15097) 2024-04-04 21:26:37 +08:00
github-actions[bot] ad93d75ce7 style: auto format 2024-04-04 12:30:18 +00:00
Tony 0893debb07 style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +08:00
Acringand刘圳 d5daf23f41 fix(route): fix medium route error (#15044)
Signed-off-by: 刘圳 <liu.zhen@xsky.com>
Co-authored-by: 刘圳 <liu.zhen@xsky.com>
2024-04-04 04:05:36 +00:00