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
DIYgod
7b65ba69bb
feat: add docusaurus website ( #13039 )
2023-08-15 03:12:12 +01:00
Rongrong
b6e1cf22ac
fix(route/picuki): stories and videos ( #12757 )
...
* fix(route/picuki): stories
Signed-off-by: Rongrong <i@rong.moe >
* fix(route/picuki): video
Signed-off-by: Rongrong <i@rong.moe >
---------
Signed-off-by: Rongrong <i@rong.moe >
2023-07-08 00:38:55 +08:00
github-actions[bot]
c06ed3ef40
style: auto format
2022-12-16 12:17:03 +00:00
Devin
9ec5d8f72e
fix: Use puppeteer for picuki ( #11458 )
...
* Use puppeteer for picuki
* close the browser and the page
2022-12-16 20:14:52 +08:00
Devin
815d704942
fix: picuki video src and add the controls ( #10976 )
...
* fix: picuki video src and add the controls
Modify the picuki video src and add the controls properties.
* fix: picuki video src (Modification of judgement)
* fix: picuki video src (Remove spaces)
* Create video.art
* fix: picuki video src (art-template)
* fix: picuki video src (object-shorthand)
* fix: picuki video src (controls)
2022-10-02 00:41:59 +08:00
Tony
c7796fbf4f
fix: picuki maintainer route
...
#10385 , #10386 , #10387 being closed improperly
2022-08-05 01:06:41 +08: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
96e803fba6
fix(route): node.js 14 has no replaceAll ( #9323 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
2022-03-15 17:09:01 +08:00
Rongrong
44f1ea3718
feat(route)(picuki/profile): migrate to v2, fetch stories ( #9216 )
...
* refactor(route)(picuki/profile): migrate to v2
other changes:
fix linebreak
fix header
add location
`displayVideo` param defaults to enable
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
* refactor(route)(picuki/profile): use template
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
* feat(route)(picuki/profile): fetch stories
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
2022-03-02 22:26:21 +08:00