Commit Graph
57 Commits
Author SHA1 Message Date
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
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
Howard Yin 61d9e2dd4e fix(radar)(route): Pixiv search & Radar rules (#7700) 2021-06-26 17:02:22 -07:00
SettingDust 4db1c91cfa fix(route): pixiv login (#7623) 2021-06-23 20:37:55 -07:00
GitHub Action 3f0f53c48d style: auto format 2021-02-23 00:10:45 +00:00
小白-白 4d139d4a05 fix(docs): manga support for pixiv user activity (#6923)
* fix: support refresh token login (#6883)

* docs: update pixiv login

* docs: update pixiv login

* docs: update pixiv config

* fix: manga support for pixiv user activity (#6879)
2021-02-14 22:12:37 -05:00
小白-白 9cd6cda696 fix: [breaking] [config] pixiv support refresh token login (#6911)
* fix: support refresh token login (#6883)

* docs: update pixiv login

* docs: update pixiv login
2021-02-14 04:55:45 -05:00
Bao, Huang-Huang c8275d890d fix: add custom certificate validation to pixiv-got (#6830)
Fixes #6584
2021-02-03 21:50:26 -05:00
Clarke 26a8a59558 fix: use the new version of pixiv link (#6537) 2020-12-26 09:37:02 +00:00
Bao, Huang-Huang 5266046928 fix: resolve PIXIV_BYPASS_HOSTNAME via DNS over HTTPS (#5962) 2020-10-21 15:59:47 +01:00
Bao, Huang-Huang 45347d2b9c feat: bypass Pixiv Cloudflare by directly accessing Pixiv gateway server IP (#5952) 2020-10-20 11:18:05 +01:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
DIYgod 77d55262ff chore: bump got from 9.x to 10.x (#3875) 2020-02-04 01:09:14 +08:00
DIYgod 5a2a37f3e1 feat: pixiv search r18, close #1333, close #2932, close #3447 2019-11-29 17:41:50 +08:00
DIYgod ff7c1be507 fix: pixiv X-Client-Time header, close #3325 2019-10-28 14:43:08 +08:00
DIYgod 4445443946 feat: use dynamical config 2019-09-18 17:45:21 +08:00
Clarke a96171334f feat: add pixiv illustfollows (#3073) 2019-09-15 12:52:29 +08:00
DIYgod ac80164099 fix: pixiv login 2019-09-03 11:58:22 +08:00
DIYgod f25d17aa3f refactor: move pixiv client_id and client_secret 2019-09-03 11:57:47 +08:00
DIYgod 9a3bea3525 feat: remove referrerpolicy in routes 2019-08-28 14:38:19 +08:00