Commit Graph

11 Commits

Author SHA1 Message Date
Kun CHEN cdb6f6f34c
fix(route): broken item URL in Google Scholar Author Citations (#14277)
* fix broken url in item fields

* add author information in item field

* add query parameter usage

* fine-tune channel  title&description

* add maintainer

* shorten the itemUrl definition

---------
2024-01-18 22:09:04 +08:00
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
CaoMeiYouRen bbee9f247d
feat(route): 新增 bing 搜索; 迁移 bing 每日图片到 v2; 新增 百度搜索; 迁移 搜狗特色LOGO 到 v2 规范;添加 搜狗搜索;添加 Google Search (#13936)
* fix(route): 修复 米游社 公告栏 template 错误

* feat(route): 新增 bing 搜索

* docs: Update other.mdx

* docs: fix docs

* feat(route): 新增 百度搜索

* fix(route): 修复 pubDate 解析错误

* fix(route): 优化 百度搜索的缓存,减轻反爬问题

* feat(route): 新增 360 搜索

* feat(route): 迁移 搜狗特色LOGO 到 v2 规范;添加 搜狗搜索

* fix(route): 百度搜索增加图片

* feat(route): 新增 Google Search

* fix(route): 修复 百度搜索相关问题

* fix(route): 修复 Google 相关问题

* fix(route): 修复 360 搜索

* fix(route): 修复 搜狗搜索

* fix(route): 修复 await 问题

* fix: 移除 google sites

* fix(route): 修复 缓存和过滤逻辑问题

* fix(route): 修复 360 搜索缺少 cookie 的问题

* fix(route): 修复 360 搜索 cookie 的问题

* feat(route): 移除 so.com 路由

* fix: merge conflict

---------
2023-12-25 23:14:21 +08:00
DIYgod fe6117a421
feat: remove notOperational routes - picture 2023-12-21 02:46:58 +08:00
DIYgod 47068bfae5
feat: remove notOperational routes - blog 2023-12-19 22:46:03 +08:00
Tony 20c284f80b
feat(route/google): Add Google Alerts (#13881) 2023-11-25 05:16:11 +08:00
DIYgod 7b65ba69bb
feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00
Tony 589ddb3a43
refactor(eslint): add back no-return-await (#11877)
* chore: add back no-return-await

* chore: fix action warning

* chore: fix all no-return-await
2023-02-16 04:30:05 +08:00
Tony ba89e298bb
fix(route): google news (#11662) 2023-01-21 01:30:13 +08:00
Ethan Shen 0a53418b93
feat: add google sites recent changes (#7246)
* feat: add google sites recent changes

* fix pubDate

* fix: wrong date format
2022-03-10 19:46:56 +08:00
Fatpandac c144a1864b
feat(route): add Google Fonts and refactor /google/** to V2 (#8927)
* Add(route): add Google Fonts and change to V2

* Fix(route): added throw error when API key is underfined

* Fix(docs): add warning container

* Fix(docs): Update docs/design.md

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

* Fix(route): sort routes

* Fix(route): Update lib/v2/google/fonts.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 01:18:17 +08:00