Commit Graph
6155 Commits
Author SHA1 Message Date
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
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