Commit Graph
6398 Commits
Author SHA1 Message Date
Tony ef7ff49062 docs: fix npm (#15785) 2024-06-01 23:12:42 +08:00
Madray Haven 759041f7fb feat(route): javdb video codes (#15784)
* fix: series response title

* feat(route): javdb video_codes
2024-06-01 22:55:11 +08:00
Harvey Qiu de2870bbde feat(route): add dataguidance news (#15711)
* add dataguidanec news

* 1. add date
2. fix /

* fix: example

---------
2024-06-01 22:21:56 +08:00
SunBK201 2a5ec73c54 fix(route): fix ymgal article data fetching (#15783) 2024-06-01 21:50:55 +08:00
Nya Candy cce3bdb4fe fix(route): 使用 ofetch() 替换一些 got().json() (#15780)
* chore: some massive adoption from got().json() to ofetch()

Not sure if everything works fine (some may still have problems other than fakeGot & json issues), but this might have some help.

BTW maybe we can start "The Migration" project to update some outdated routes to new format 🤔

* fix: some other issues

* fix: query

* fix: luogu user blog & modb topic

* fix: modb topic response

* fix: query options in freebuf

---------
2024-06-01 01:10:15 +08:00
Ethan Shen 9b3f9766dc fix(route): restore /gov/shanghai (#15781) 2024-06-01 00:16:39 +08:00
Tony 1f619e46e1 fix(route): fetch articles from osc.cool (#15776) 2024-05-31 14:41:03 +08:00
Tony abbebfbd24 fix(route): wired (#15771) 2024-05-31 03:14:03 +08:00
Enoch Ma c2d5491e19 fix(route/twreporter): Change to ofetch and other fix (#15770)
* twreporter - fix & ofetch

* remove comment
2024-05-31 03:02:26 +08:00
Henry Wang db0ae9d3fa fix(route): IEEE journal routes (#15720)
* fix: IEEE journal routes

* feat: add feed image

* chore: preprint -> earlyAccess

* chore: remove cookie jar
2024-05-30 23:51:22 +08:00
Zhitao Chenandcztchoice b72d35fe12 feat(route): add weibo/user-bookmarks 微博用户收藏动态 route (#15752)
* add weibo/user-bookmarks route

* fix review comments

* Update lib/routes/weibo/user-bookmarks.ts

---------

Co-authored-by: cztchoice <cztchoice+wsl@gmail.com>
2024-05-30 21:36:55 +08:00
Tony 2d1a0b7319 fix(route): famitsu (#15761) 2024-05-30 11:05:50 +08:00
mayouxi 86dfc3e1d8 feat(route): add jlu ccst xwzx (#15758)
* feat: add jlujwc

* feat: add jlujwc

* feat: add jlujwc

* add jlu ccst xwzx

* feat: add jlu ccst xwzx

* feat: add jlu ccst xwzx

* feat: add jlu ccst xwzx

* feat: add jlu ccst xwzx

---------
2024-05-30 08:25:24 +08:00
Ethan Shen c7319828d9 feat(route): add 上海市发展和改革委员会 (#15759) 2024-05-30 03:34:56 +08:00
Andvari af0199fbd6 feat(route/zhihu): Replace name fetching logic. (#15733)
* feat(route/zhihu): Replace name fetching logic.

* .

* Update posts.ts

* fix(route): optional `__zse_ck` (#15749)

* .

* .

* Update posts.ts

* Update posts.ts

* chore: add typing

---------
2024-05-29 22:58:57 +08:00
Tony e7587546b4 docs: fix tencent namespace 2024-05-28 19:29:02 +00:00
Wei Zhu f5dbf697ee fix(template): X (twitter) icon (#15750) 2024-05-29 02:55:38 +08:00
mayouxi 2f33a3e81b feat(route): add jlujwc (#15747)
* feat: add jlujwc

* feat: add jlujwc

* feat: add jlujwc
2024-05-28 23:01:21 +08:00
Tony 9dcc83bc84 fix(route): optional __zse_ck (#15749) 2024-05-28 22:26:04 +08:00
Wei Zhu 62aa54e6c9 fix(route): fix gov/immiau/news (#15746) 2024-05-28 22:05:09 +08:00
Kieran Wynne 07c72b1d26 fix(route): Vice component role fix (#15737)
* Removes deprecated parameter documentation

* Fixes archaic component role structure
2024-05-28 21:48:44 +08:00
Nicolas Lau 0ad971d69d feat(route): tencent cloud column (#15673)
* feature: column with categoryId

* feature: column title

* feature: by category id

* refactor: move to tencent

* fix: categories and parameters

* refactor: string quote

* refactor: cache classify

* fix: cache classify
2024-05-28 20:55:18 +08:00
CaoMeiYouRen 77501fd043 feat(route): bilibili 动态路由新增:将话题作为 category (#15741) 2024-05-28 13:53:14 +08:00
Tony 6e71b1a101 docs: fix ftchinese 2024-05-28 04:26:05 +00:00
CaoMeiYouRen 363bcf329d fix(route): 修复 twitter 路由会匹配到 # 开头的颜色字符的问题 (#15740) 2024-05-28 12:18:20 +08:00
Ishirai 73c9e1fdfd fix(route): route jiaowu and xxgk for Donghua University (#15721)
* fix: update name url for Donghua University

* fix: route /dhu/jiaowu/news and /dhu/jiaowu/xxgk/news and fetch content as description

* fix: camelCase / fetch content and meta at the same time

* fix: return item using cache.tryGet
2024-05-28 10:40:15 +08:00
ttl97 9a0ef60f53 fix(route): fix Spotify TypeError (#15732)
* fix(route): fix Spotify TypeError

* fix(route): use builtin ofetch
2024-05-28 02:45:48 +08:00
CaoMeiYouRen 2e839e61b9 feat(route): twitter 路由新增:将话题提取为 category (#15735) 2024-05-28 02:21:12 +08:00
CaoMeiYouRen 2b5f4d092a feat(route): 微博路由 新增 category 字段 (#15734) 2024-05-28 00:40:55 +08:00
Andvari 3a512a3500 fix(route): Fix AP news time. (#15731) 2024-05-27 22:17:09 +08:00
Andvari 060ef55f1c fix(route): Ensure the link can be fetched. (#15730) 2024-05-27 21:59:06 +08:00
Tony 50c1bb7fd9 feat(route): stream-capital (#15719) 2024-05-27 04:39:20 +08:00
Ethan Shen 26dfc27cfb feat(route): add 台灣角川角編新聞台 (#15718) 2024-05-27 03:00:04 +08:00
Kieran WynneandTony d33b416d6e feat: adds vice.com route #15694 (#15698)
* feat: adds vice.com route #15694

* Clean up ctx parameters

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

* remove obsolete feature config

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

* Updates route to combat future conflicts. removes content Parameter

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

* removes unnecessary language parameter fallback

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

* replaces html parsing with json data parsing

Co-authored-by: Tony <TonyRL@users.noreply.github.com> - amazing code thanks for your contribution (never had someone comment on my code before, hope I've implemented your suggestions the right way)

* Updates the article content, to pull by default

Co-authored-by: Tony <TonyRL@users.noreply.github.com>. I've had to update it a little as there were a few errors

* Updates example & radar

* consolidates similar role cases

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

* Renames namespace name

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

* Removes article rendering

Whilst _some_ main articles do benefit from inner article rendering, it was inserting irrelevant content (ads for similar content). The articles that do benefit are essentally just listicles.

---------
2024-05-27 01:07:30 +08:00
Lfish 256f28e876 feat(route): 增加少数派首页路由每篇文章的封面图片 (#15716)
* Update index.ts

* Update index.ts

* sspai index image
2024-05-27 00:11:36 +08:00
Terry Chan d5ab30ea30 fix(ximalaya): parse pay audio address (#15715)
* fix(ximalaya): parse pay audio address

* chore: add types

* fix: add json.parse to parseResponse option

---------
2024-05-26 23:39:47 +08:00
Chih-Hsuan Yen 31e2a43a00 fix(core): restore LISTEN_INADDR_ANY functionality (#15706)
Somehow the functionality is lost during Hono migration [1]. Let's add
it back.

[1] https://github.com/DIYgod/RSSHub/commit/8e0154552ce3a5c2f9b88fa45447eb809d5ec252
2024-05-26 22:10:53 +08:00
DIYgod d1dd8a53ca feat: retry requesting control (#15717)
* feat: retry requesting control

* test: fix error handling test
2024-05-26 21:48:29 +08:00
Nicolas Lau 4205e8475d feat(route): support podwise.ai (#15670)
* feature: podwise.ai

* refactor: simplify item, remove some unnessary code

* feat: add podcast feed info

* chore: remove comment

* refactor: use import instead of require

* convert enclosure type
2024-05-26 21:10:03 +08:00
DIYgod 53edbc7e62 test: fix rate limiter duration 2024-05-26 20:51:30 +08:00
DIYgod 0839e555bb feat: bypass cache for non rss routes 2024-05-26 20:46:12 +08:00
DIYgod 61e0ae13d9 Revert "feat: split test routes"
This reverts commit c265a0616a.
2024-05-26 17:22:13 +08:00
DIYgod e16f95c546 feat: add outgoing request rate limit 2024-05-26 17:18:48 +08:00
DIYgod c265a0616a feat: split test routes 2024-05-26 16:52:39 +08:00
DIYgod e3f57a17e0 feat: temporarily disable request timeout 2024-05-26 15:58:43 +08:00
Tony 4cea8ac3b8 feat(route): jingzhengu (#15709) 2024-05-26 04:10:39 +08:00
github-actions[bot] 690b22f34a style: auto format 2024-05-25 15:51:43 +00:00
Ryan 8c61d0bba5 fix(route): fix flatten function to work properly (#15702)
* fix: fix flatten function to work properly

* fix: lint
2024-05-25 23:49:48 +08:00
Yigong Hu 1f334be4f8 fix(route): Typst universe route removes duplicated packages and fix description (#15664)
* fix: package list source and title

* edit: remove duplicated packages and get rendered page

* Revert "edit: remove duplicated packages and get rendered page"

This reverts commit 711d8941c8098ffc077195587f6452349d7bf784.

* fix: remove duplicated packages

* fix: image links

* edit: fix image path after render

* fix: Incomplete URL substring sanitization

* fix: coding sty;e
2024-05-25 23:16:11 +08:00
Tony 94ffb50814 fix(route): zhihu __zse_ck (#15707) 2024-05-25 22:29:42 +08:00