Commit Graph
6 Commits
Author SHA1 Message Date
TsuyumiandTony fb8e90dff0 feat(route/pixiv): refactor novels api and add series support (#17532)
* feat(route/pixiv): refactor novels api and add series support

* chore: cleanup

* Update lib/routes/pixiv/novel-api/series/nsfw.ts

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

* Update lib/routes/pixiv/novel-api/series/sfw.ts

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

* Update lib/routes/pixiv/novel-api/user-novels/nsfw.ts

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

* Update lib/routes/pixiv/novel-api/user-novels/nsfw.ts

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

* Update lib/routes/pixiv/novels.ts

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

* Update lib/routes/pixiv/series.ts

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

* refactor: rename pixiv/series to pixiv/novel/series

---------
2024-11-11 19:14:02 -08:00
Tsuyumi cf7ce2470b feat(route/pixiv): add R18 novels support and full content toggle for… (#17391)
* feat(route/pixiv): add R18 novels support and full content toggle for user novels

* fix: information & image placeholders

* refactor: split novels fetching into SFW/NSFW modules and improve type definitions

* feat: add info for sfw

* feat: add radar

* refactor: use jsdom instead of regex

* feat: add limit support for nsfw novels

* docs: rename radar title

* revert: part of #17440
Object.entries(options.searchParams) returns `[]`

* fix: clean up

* feat: early exit when no SFW novels found

* refactor: combine novel parsing logic into utils

* docs: restore pixiv doc link

* feat: cache novel content

* refactor: cleanup

* refactor: full content function

---------
2024-11-06 03:56:50 +08:00
DIYgod edfaed1b7d feat: add width and height to img 2024-08-07 23:07:12 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00