Commit Graph
8 Commits
Author SHA1 Message Date
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
JimenezLi 690b06e680 fix(core): buffer responseType (#15083) 2024-04-03 23:01:02 +08:00
DIYgod bf4e5dd78f test: fix caces 2024-03-31 23:13:22 +08:00
DIYgod a87ec36450 test: got test 2024-03-27 16:15:39 +08:00
DIYgod 07c891caa6 feat: remove timeout test 2024-03-26 01:15:06 +08:00
DIYgod d190d9d700 test: ofetch got 2024-03-26 00:33:36 +08:00
DIYgod 38e42156a0 feat: replace jest with vitest 2024-03-03 18:57:07 +08:00
DIYgod a2686197eb test: got 2024-02-24 23:12:37 +08:00