Commit Graph
77 Commits
Author SHA1 Message Date
DIYgod 2dce2e32dd feat: docs sorting and auto popular 2025-05-31 17:10:01 +08:00
Tony 03969f3867 refactor: fix lint issue (#18963)
* fix: unicorn/no-empty-file

* fix: unicorn/prefer-node-protocol

* fix: unicorn/prefer-number-properties

* fix: unicorn/consistent-destructuring

* fix: unicorn/no-array-callback-reference

* fix: unicorn/new-for-builtins

* fix: set checkNaN to false in unicorn/prefer-number-properties

* fix: unicorn/prefer-string-slice

* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
dependabot[bot]andTony 8a0efc0ba2 chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0 (#18392)
* chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 56.0.1 to 57.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v56.0.1...v57.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: remove unicorn plugin

* style: fix eslint issues

* style: fix more issues

* chore: flat config unicorn

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2025-02-19 05:10:11 +08:00
Tony 04a3e88448 docs: fix admonitions syntax (#18018) 2025-01-01 15:52:40 +08:00
Tsuyumi 57dbe9bf2f fix(pixiv/user): use imgProxy for image url (#17980) 2024-12-26 22:58:16 +08:00
Keo c0c0d11c5a feat(route/pixiv): add more precise datetime and author name for NSFW… (#17698)
* feat(route/pixiv): add more precise datetime and author name for NSFW novels

* refactor code

* add maintainer

* update types

* refactor code

* fix!: revert #17667

This reduce the no. of HTTP requests by half. HTTP requests should be spent on fetching the most essential data like title and description. Doubling the no. of HTTP requests to serve one minor property is not elegant.

---------
2024-11-26 01:27:51 +08:00
Keo cc23a80bb0 feat(route/pixiv): add language attributes for novels (#17667)
* feat(route/pixiv): add language tags for novels

* rm redundant elements
2024-11-22 21:10:31 +08:00
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
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
pseudoyu a21b518946 feat: enhance route params for better follow display (#16874) 2024-09-23 15:13:49 +08:00
DIYgod edfaed1b7d feat: add width and height to img 2024-08-07 23:07:12 +08:00
uhq9e 783c823d1c feat(route): pixiv search filter AI-generated content (#16286) 2024-07-29 20:47:15 +08:00
DIYgod 703e46de70 feat: add view 2024-07-23 15:14:21 +08:00
DIYgod a1322b845d feat: clear popular docs 2024-06-27 03:24:02 +08:00
DIYgod cf1c9c98ff feat: expanded parameters data 2024-06-26 18:11:19 +08:00
DIYgod 5513d4a0fd feat: add author for pixiv ranking, pixiv user, twitter keyword, weibo keyword, youtube custom, youtube user routes 2024-06-06 01:22:28 +08:00
DIYgod 6ee5d7267b chore: add popular category 2024-05-19 23:00:43 +08:00
CaoMeiYouRen 9305380fcb fix(route): 优化 pixiv 搜索/书签 路由的简介 (#15603) 2024-05-16 01:50:11 +08:00
CaoMeiYouRenandpull[bot] 05fe33293b fix(route): 修复 pixiv 排行榜/关注 路由缺失 简介的问题 (#15559)
* fix(route): 修复 pixiv 排行榜路由缺失 简介的问题

* fix(route): 修复 Pixiv 关注 缺失简介和分类的问题

* fix(route): 修复 pixiv 的 deepscan 问题

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2024-05-12 02:21:07 +08:00
DIYgod 79fcce2729 feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
DIYgod 50d194ef3d Merge remote-tracking branch 'origin/master' into feature/ofetch 2024-03-31 23:37:37 +08:00
wudifeixue c086c62acd fix(core): fix documentation link path and error message links (#15023)
* fix: all broken sponsor links

* fix: all broken deployment links

* fix: other broken links
2024-03-30 08:12:12 +00:00
DIYgod 81bf135e96 fix: ofetch searchParams and form 2024-03-25 02:00:47 +08:00
Tony d585a87daf fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod 1afe43eccd feat: add config description field 2024-03-12 01:52:06 +08:00
DIYgod e5b8f852f5 feat: add requireConfig 2024-03-12 00:29:52 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055 fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b fix: add routes 2024-03-09 03:24:53 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
DIYgod 3d33ab1f72 feat: replace require with import 6/n 2024-03-07 00:46:47 +08:00
DIYgod e42ff57cb4 feat: replace require with import 5/n 2024-03-07 00:39:42 +08:00
DIYgod 34d889743b feat: replace require with import 4/n 2024-03-07 00:15:48 +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 d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod d88620c39c feat: update esm dependencies 2024-03-01 22:58:04 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Tony 256387bd25 feat(route): pixiv novels (#10647)
* feat(route): pixiv novels

* fix: radar

* fix: cache rename

* docs: fix tag closing

* fix: sort
2022-08-29 23:40:16 +08:00
Tony f97cdb291c fix: lack of config error url (#9490) 2022-04-07 22:34:33 +08:00
Howard Yin 57a86c6f34 fix(route): Pixiv频繁refresh token (#8527) 2021-11-27 09:02:39 +00:00
DIYgod 53f6347189 feat: pixiv PIXIV_IMG_PROXY 2021-11-02 17:40:24 +00:00
Daniel Li (李丹阳)andSukka d77a039f05 style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +08:00
SettingDust 8d46760850 chore(route): refactor the usage of pixiv token (#8103)
* refactor(route): refactor the usage of pixiv token

之前的 token 使用有些奇怪,不等拿到第一个 token 就直接返回了,造成垃圾报错

Signed-off-by: SettingDust <settingdust@gmail.com>

* fix(route): pixiv token shouldn't refresh is package

Signed-off-by: SettingDust <settingdust@gmail.com>
2021-09-09 01:41:50 -07:00