Commit Graph
6166 Commits
Author SHA1 Message Date
DIYgod 6ce99d9f2e fix(twitter): request headers 2024-04-15 10:28:28 +08:00
Ethan Shen 517fa8d1e0 fix(route): Cool Papers (#15223)
* fix(route): Cool Papers

* fix radar
2024-04-15 00:03:45 +08:00
sirius60111 e2d6718fa2 fix(route): xueqiu user-stock (#15226) 2024-04-14 19:24:28 +08:00
Sunny dbd3826e80 feat(route): Add route for njuferret.github.io (#15219)
* Add route for njuferret.github.io

* Improve: use spread operator

* Update lib/routes/njuferret/blog.ts
2024-04-14 17:00:07 +08:00
JimenezLi d6b6a276e7 fix(route): baozimh newest chapter (#15224) 2024-04-14 02:15:53 +08:00
ubbcou 373b598100 feat: add OpenGithub - Github开源项目月刊精选 (#15181)
* feat: add OpenGithub - Github开源项目月刊精选

* chore: rm files

* fix: property fix
2024-04-13 11:31:01 +08:00
Ethan Shen bed0ab8765 fix(route): 罗磊的独立博客显示原图 (#15203) 2024-04-12 19:47:59 +08:00
a51cc049bf feat: add javdb session config and cookieJar to fakeGot (#14782)
* feat: add javdb session config

* fix: Return data instead of setting ctx.set in JavDB routes

* docs: Add JavDB login instructions to config.md

* docs: Add note about javdb session validity in config.md

* fix: Return data instead of setting ctx.set in JavDB routes

* fix: Update route path in javdb index.ts

Remove '/:category?/:sort?/:filter?', it will cause other module routes to be inaccessible

* chore: Remove unused cookie variable in ProcessItems function

* chore: Unnecessary changes

* chore: Add JAVDB sessions in alphabetical order.

* docs: Add JAVDB sessions in alphabetical order.

* feat: Add support for passing cookies in headers

* test: Add cookieJar test to got.test.ts

* Update lib/utils/got.ts

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

* feat: Update JavDB routes to include optional JAVDB_SESSION in requireConfig

---------

Co-authored-by: zhaoyi.wu <zhaoyi.wu@amh-group.com>
2024-04-12 19:30:42 +08:00
tensor 7c76f385a3 feat: add deepin bss homepage (#15188)
* feat:add deepin bss homepage

* fix: path,name,features,maintainers,description
2024-04-12 18:56:26 +08:00
YunfiandTony 8875432155 fix(route): 西安交通大学 教务处 (#15182)
* fix(route): 西安交通大学 教务处

* Update lib/routes/xjtu/dean.ts

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

---------
2024-04-12 09:49:00 +00:00
karasu a4c1639596 fix(route): caixin (#15209) 2024-04-12 09:06:53 +00:00
Tony 4277880cf9 feat(route): recover esquirehk (#15198)
from https://github.com/DIYgod/RSSHub/commits/master/lib/routes/esquirehk/tag.js
2024-04-12 05:33:30 +08:00
Tony 0a87eaf4be fix(route): dcfever use ofetch instead of got utils (#15194)
* fix(route): dcfever use ofetch instead of got utils

* fix: typo
2024-04-12 01:50:07 +08:00
Rongrong ef8b061ea2 chore(routes/*): fix unreachable code (#15192)
This is a regression introduced in #14718.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-12 00:19:38 +08:00
Rongrong a8813a6311 fix(routes/wechat/tgchannel): title is not mpName (#15193)
This is a regression introduced in 9787a92c.

Use `||` instead of `??` to prevent empty string being used as the feed
title.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-11 23:45:28 +08:00
Terence孫 6b87dfc610 fix(route): zhubai/top20&zhubai/posts/:id (#15189) 2024-04-11 14:16:07 +08:00
Ethan Shen 4655e0952b feat(route): add WordPress (#15171)
* feat(route): add WordPress

* fix docs

* feat: add search keywords
2024-04-11 03:35:55 +08:00
Felix Hsu bec0e6d896 fix(route): the radio.cn in zhibo and album rss (#15145)
* Fix the radio.cn in zhibo and album rss

* use ownerNickName for itunes author
2024-04-10 23:07:10 +08:00
MichealDeath 049cb18153 fix(route): picnob. Change source to 'pixwox.com'. (#15180) 2024-04-10 18:31:02 +08:00
Terence孫 a0ea082fad fix(route): freewechat (#15179) 2024-04-10 09:16:55 +00:00
Vinfall 15476262c8 feat(route): add author in gcores (#15032)
* feat(route): add author in /gcores/catetory

* refactor: add author in /gcores/category
The order of `included` in response should be not considered as fixed.
2024-04-10 16:52:11 +08:00
Tony fe50ecae4c fix(route): seekingalpha (#15173)
* fix(route): seekingalpha

* feat: obtain article from api

* fix: `length` is undefined
2024-04-10 05:06:50 +08:00
Tony ade6b21c95 feat(route)!: remove /500px/user/works/:id due to login wall (#15172) 2024-04-10 03:13:30 +08:00
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