Commit Graph
33 Commits
Author SHA1 Message Date
equt 674fa0f7b0 feat(route): introduce tsdm39/bd (#16038)
* feat(route): introduce `tsdm39/bd`

* feat(route): deadbydaylight.com latest blog (#16037)

* feat(route): deadbydaylight.com latest blog

* addressing comments

* Update lib/routes/deadbydaylight/index.ts

* doc(route): fix incorrect MD syntax (#16040)

* fix(route): 中国投资者网返回空结果 (#16044)

* fix: review

* fix: review

* fix: review

* fix: review

* fix: throw if cookie not found

* fix: remove unnecessary cache

---------
2024-07-01 21:47:15 +08:00
hywell e94969b9b1 fix(route): XSIJISHE need login (#15984)
* 1. 修复sehuatang 403

* 修复sehuatang主页 403

* 过滤不必要的请求

* 修复XSIJISHE需要登录

* 修复XSIJISHE rank需要登录

* This does not require cookie.url
2024-06-25 21:17:31 +08:00
DIYgod 943ec2e740 feat(twitter): support batch account 2024-06-17 16:49:35 +08:00
DIYgod dc0f222658 feat(twitter): support batch authToken 2024-06-16 18:36:30 +08:00
minty_frankie f4b05dbe34 fix(route): update The Inithium authentication method (#15797)
* fix: delete deprecated INITIUM_IAP_RECEIPT authentication method

* fix(route): fix username and password authentication method

* chore: update route maintainers

* fix: delete all fields for iap_receipt

* fix: delete finally all IAP_RECEIPT field

* fix: correct login request headers
2024-06-05 23:40:44 +08:00
minty_frankie 60d1ed3c8f feat(route): add Prime Community route (#15809) 2024-06-04 22:21:43 +08:00
karasu a62625428c feat(route): yamibo (#15537)
* feat(route): yamibo

* fix

* fix
2024-05-14 11:50:09 +08:00
karasuandTony bd099c13f7 feat(route): 知识星球 (#15320)
* feat(route): 知识星球

* feat: add scope parameter

* remove redundant variables

* fix

* Update lib/routes/zsxq/utils.ts

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

* fix

---------
2024-04-22 01:05:59 +08:00
Tony b3eb3f3a0b feat(route): add back twitter 2fa (#15292)
ref: https://github.com/DIYgod/RSSHub/commit/95ace0991774042f32c21a26a8fc5f85eb124646
2024-04-19 22:29:34 +08:00
karasu 31f578d694 fix(route): qingting (#15251)
* fix(route): qingting

* fix: set default value for `qingtingId`

* fix: typo
2024-04-17 14:34:41 +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
Ernest DongandTony 23c1d6b10d feat(route): add xueqiu timeline (#15079)
* feat(route): add xueqiu timeline

* feat(xueqiu): accept review advices

* 更新 timeline.ts

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

---------
2024-04-03 23:16:15 +08:00
karasuandTony a392f0f8df fix(route): Mox.moe (#15038)
* fix(route): Mox.moe

* add description without cookie

* adjust the order

* Update lib/routes/mox/index.ts

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

---------
2024-04-03 11:18:01 +08:00
DIYgod 7a4cd377de feat: remote config auth 2024-04-02 21:39:50 +08:00
Rongrong 045eaf664c fix(core): misc fixes of disabling cache (#15036)
* fix(core): CACHE_TYPE='' does not disable cache

The documentation of config always states that CACHE_TYPE being empty
will disable the cache.

The regression was introduced in 847724ca. The corresponding test case
was mistakenly "fixed" in 719af907.

Signed-off-by: Rongrong <i@rong.moe>

* fix(core): false RSS <ttl> when cache unavailable

Some RSS readers may probe <ttl> to determine the minimum interval of
polling. However, it is always set to `config.cache.routeExpire / 60`
even when cache is unavailable. This may not be expected when the cache
is explicitly disabled.

Set it to 1 (minute) under such a circumstance. The minimum <ttl> (when
cache is available) is also limited to 1 to avoid potential misuse.

The Cache-Control header remains untouched as caching can be done by a
reverse proxy.

Signed-off-by: Rongrong <i@rong.moe>

---------

Signed-off-by: Rongrong <i@rong.moe>
2024-04-02 01:21:38 +08:00
DIYgod eec2a71953 test: setup msw 2024-03-27 14:26:20 +08:00
DIYgod 4a7c00f274 feat(twitter): api structure and web user 2024-03-19 20:57:19 +08:00
DIYgod e5b8f852f5 feat: add requireConfig 2024-03-12 00:29:52 +08:00
DIYgod 4d3e5d79c1 feat: remove MEDIA_PROXY_KEY and internal media proxy 2024-03-04 23:06:41 +08:00
DIYgod 38e42156a0 feat: replace jest with vitest 2024-03-03 18:57:07 +08:00
DIYgod 0ab8996f40 feat: remove allowlist and denylist 2024-03-02 21:35:40 +08:00
DIYgod 05f5f50206 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-29 17:44:22 +08:00
DIYgod 206782bb61 fix: not found error handler 2024-02-26 19:34:17 +08:00
DIYgod a2686197eb test: got 2024-02-24 23:12:37 +08:00
DIYgod e4ee2ef98f feat: remove authentication 2024-02-22 02:16:14 +08:00
DIYgod 0b67491b12 feat: robots.txt 2024-02-21 20:03:47 +08:00
DIYgod c713674c35 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-19 23:31:31 +08:00
DIYgod 04647e122b test: config 2024-02-01 01:09:09 +08:00
DIYgod 174752fef5 refactor: format 2024-01-29 23:28:17 +08:00
DIYgod 8530611723 Merge branch 'master' into feature/hono 2024-01-29 22:09:28 +08:00
DIYgod 2550b6ecf6 feat: request wrapper 2024-01-21 23:34:25 +08:00
DIYgod 8e0154552c feat: welcome page 2024-01-21 15:18:42 +08:00
DIYgod 847724cad1 feat: work with hono and typescript 2024-01-21 11:55:18 +08:00