Commit Graph
18 Commits
Author SHA1 Message Date
Tony 6d901cb7dc style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

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

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00
Summer⛱ 66844b055e fix(route): douban recommended two-digit month (#14153) 2024-01-01 14:36:49 +00:00
nightmare-mio 2e172d2451 feat(route): add 豆瓣网站中关于某书的论坛页面(#13838) (#13850)
* add (#13838)

* 优化

* 添加文档

* delete no、删除评论的编号

* add index;添加了评论的编号

* add maintainer

* add radar
2023-11-23 23:34:18 +08:00
Summer⛱andTony daa3f2d8b8 feat(route): add 豆瓣当月期待剧集/电影推荐 (#13809)
* feat(route): add 豆瓣当月期待剧集/电影推荐

* fix

* Update lib/v2/douban/other/recommended.js

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

* Update lib/v2/douban/other/recommended.js

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

* fix

---------
2023-11-16 21:46:10 +08:00
Rickandtechmovie a9becf85e0 fix(route): the attribute status.activity now is empty(#13770) (#13780)
Co-authored-by: techmovie <techmovie@users.noreply.github.com>
2023-11-13 19:52:59 +08:00
Summer⛱ cc6241abdc fix(route): 豆瓣豆列403 (#13670)
* fix(route): 豆瓣豆列403

* fix(route): item数量应该通过通用参数控制

* fix
2023-11-01 22:40:47 +08:00
Summer⛱ 4cdf472474 feat(route): 豆瓣榜单增加筛选功能 (#13665)
* fix 豆瓣热播剧榜单

* Update lib/v2/douban/other/list.js

* feat 豆瓣榜单增加筛选

---------
2023-10-31 22:34:22 +08:00
Summer⛱ 91efe60852 fix(route): 豆瓣热播剧榜单 (#13659)
* fix 豆瓣热播剧榜单

* Update lib/v2/douban/other/list.js

---------
2023-10-31 01:48:02 +08:00
DIYgod 7b65ba69bb feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00
DIYgod f60744241c feat: remove torrent search function 2023-03-18 21:50:26 +00:00
Hengyu 22829d4af4 feat(route): add douban list and collections 添加豆瓣的榜单与集合 (#12100)
* add douban list

* apply changes of review

* docs: fix rendering

---------
2023-03-14 21:27:58 +08:00
Jie Zhang e455abe486 fix(route): update douban movie weekly best (#11548) 2023-01-04 21:00:39 +08:00
港島小叔子 8ded6bd731 修复豆瓣榜单问题 (#10887) 2022-09-25 18:47:31 +06:00
Rongrong cd91931876 feat(route): try to avoid being anti-crawled (#9406)
* feat(route)(weibo): try to avoid being anti-crawled

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* refactor(route)(telegram/channel): migrate to `cache.tryGet`

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* feat(route)(douban): try to avoid being anti-crawled

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* feat(route)(picuki): try to avoid being anti-crawled

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* ref: got.get() to got()
2022-03-29 20:58:46 +08:00
Rongrong 1fc9c4aa0d fix(route)(douban/wish): username in feed title (#9408)
fix(route)(douban/wish): username in feed title
2022-03-28 17:47:10 -11:00
Rick Lee f1e7c90c3e feat: 为豆瓣想看增加Cookie配置项 (#9110) 2022-02-24 23:50:12 +08:00
Fatpandac d72dce4056 fix(route): fix douban/explore route is empty (#8968)
* Fix(route): fix route is empty

* Fix(route): resolve merge conflicts

* Fix(route): change to use art-template
2022-02-03 01:32:44 +08:00
FatpandacandTony 8891ad1020 feat(route): add 豆瓣招聘 and refactor to V2 standard (#8937)
* Add(route): add 豆瓣招聘 and change to V2

* Fix(route): fix typo of filename

* Fix(route): sort routes

* Fix(route): Update lib/v2/douban/router.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-02 22:56:13 +08:00