Commit Graph
378 Commits
Author SHA1 Message Date
SettingDust 655c59d89a fix(modrinth): correct the radar rules for working with (#14351) 2024-01-31 13:25:07 +08:00
e390030ca1 feat: Add Thai Parliament's Public hearing (according to Thai constitution section 77) (#14260)
* feat: Add Thai DOL website

* feat: Add timezone, Radar for Thai DOL e-LandsAnnoucements

* Update lib/v2/dol/maintainer.js

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

* Update website/docs/routes/government.mdx

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

* Update lib/v2/dol/radar.js

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

* Feat: Init Thai Parliament section77

* Switch got to Puppetteer, add radar, doc

* Fix DeepScan: Expression 'parseInt(maxPageElem.attr('id'))' always passes null check. Consider using 'isNaN()' instead if invalid number checking was intended.

* Change NaN handling to satisfy DeepScan

* Fix ESLint issues

* Fix: Reject PuppeTeer, embrace got with ToughJar. Thk @TonyRL

* Correct header style

* perf: Remove fetching pagination. Only first page.

* chore: Move original text out of header

* Update lib/v2/parliament/radar.js

---------

Co-authored-by: rrachasak <dev@rachasak.org>
2024-01-31 00:44:05 +08:00
github-actions[bot] 7caac20234 style: auto format 2024-01-30 05:30:22 +00:00
SettingDust 93e93a3756 feat(modrinth): add project versions route (#14340)
* feat(modrinth): add project versions route

* docs(modrinth): add project versions

* fix(modrinth): query string wrong

* feat(modrinth): add radar rule

* fix(modrinth): using `searchParams` from `got` & single line type annotation
2024-01-30 13:28:19 +08:00
github-actions[bot] bed63ba989 style: auto format 2024-01-30 04:30:22 +00:00
Ethan Shen 38fbcf09f1 feat(route): add 中国汽车工业协会统计信息网 (#14339) 2024-01-30 12:28:24 +08:00
DIYgod 5c8b17308f docs: add twitter config tips 2024-01-30 01:15:47 +08:00
DIYgod 5c8e5421e2 feat: add TWITTER_AUTHENTICATION_SECRET 2024-01-30 00:37:12 +08:00
DIYgod 3ae25ddb7a feat: support twitter username and password login 2024-01-29 20:06:44 +08:00
github-actions[bot] 3154d7a493 style: auto format 2024-01-23 15:38:21 +00:00
Ethan Shen c903abcdfb feat(route): add 川流严选 (#14303)
* feat(route): add 川流严选

* fix: add null check

* fix: add null check
2024-01-23 23:35:10 +08:00
Tony 542d03943a feat(route): mrm (#14311)
* feat(route): mrm

* fix: maintainer
2024-01-23 13:39:41 +08:00
Tony f965e0b15f feat(route): keepass (#14301) 2024-01-22 14:35:58 +08:00
Tony b50d1d7725 fix: recover cntheory (#14300)
* fix: recover cntheory

* fix: replaceAll
2024-01-22 12:52:00 +08:00
Tony 0a9296075e feat(route): scmp topics (#14299)
* feat(route): scmp topics

* docs: remove /en from docs url

* fix: router order

* fix: http verb
2024-01-22 05:13:40 +08:00
Tony 6c6ce0ce12 fix: codeql incomplete multi-character sanitization (#14298) 2024-01-22 00:32:37 +08:00
Tony 70b4385bf1 feat(route): laimanhua (#14297) 2024-01-22 00:03:51 +08:00
Ethan Shen 1e7793e0ef fix(route): 金色财经 (#14272)
* fix(route): 金色财经

* style: lint

* docs: move to finance

---------
2024-01-21 15:15:07 +08:00
Tony e399ca73c8 feat(route): bjedu (#14288) 2024-01-19 22:31:20 +00:00
github-actions[bot] 4adcd60986 style: auto format 2024-01-19 18:36:56 +00:00
Ethan Shen b387495bec feat(route): add 中国期货市场监控中心 (#14287)
* feat(route): add 中国期货市场监控中心

* Update lib/v2/cfmmc/radar.js

---------
2024-01-19 18:35:01 +00:00
SunBK201 ed5c6fff48 feat(secrss): full text support (#14284)
* feat(secrss): full text support

* fix(secrss): pubDate author category
2024-01-19 09:00:33 +00:00
CaoMeiYouRen 30c453eec2 feat(route): New route: MiYouShe - User Posts; Optimize the routing of MiYouShe | 新增路由:米游社 - 用户帖子;优化米游社路由 (#14268)
* 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

* feat(route): 新增路由:米游社 - 用户帖子;优化米游社路由

* fix(route): 修复 米游社用户帖子路由

* feat(route): 新增 米游社 用户关注路由

* fix(route): 修复 米游社帖子可能缺失封面的 bug;增加 点赞和评论数

* fix(route): 修复 米游社路由的规范和 bug

---------
2024-01-19 03:46:51 +08:00
Ethan Shen b31adca78e feat(route): add TradingView Pine Script™ Release notes (#14279) 2024-01-19 01:06:41 +08:00
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
Rachasak Ragkamnerdandrrachasak ba3c2925f8 feat: Add Thai Department Of Lands e-LandsAnnouncement website (#14245)
* feat: Add Thai DOL website

* feat: Add timezone, Radar for Thai DOL e-LandsAnnoucements

* Update lib/v2/dol/maintainer.js

* Update website/docs/routes/government.mdx

* Update lib/v2/dol/radar.js

---------

Co-authored-by: rrachasak <dev@rachasak.org>
2024-01-18 21:06:39 +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
JimenezLi 73010823e1 fix(docs): fix some working notOperational routes (#14270) 2024-01-17 22:27:14 +08:00
Carson Yang f9ac1e2c72 docs: Add deploy to Sealos (#14259) 2024-01-16 09:04:30 +00:00
Tony 39c6720498 feat: recover shuiguopai (#14248) 2024-01-16 01:00:19 +08:00
JimenezLi 450bdb3a17 feat(route): zhihu xhu posts (#14246) 2024-01-15 23:23:47 +08:00
Tony 50b32696fa feat(route): recover kuwaitlocal agirls qianp taiwannews jiaoliudao (#14247)
* fix: recover kuwaitlocal

* fix: recover agirls

* fix: recover qianp

* fix: recover taiwannews

* fix: recover hket

* fix: recover jiaoliudao

* fix: qianp

* fix: deepscan issue
2024-01-15 23:03:49 +08:00
Tony 6780b96b23 fix(route): hoyolab (#14242) 2024-01-15 12:22:54 +08:00
Ethan Shen 7a94c42e94 feat(route): add 苏州市发展和改革委员会 (#14214)
* feat(route): add 苏州市发展和改革委员会

* docs: remove duplicated heading

* refactor: migrate to v2

* fix: suzhou docs

* fix: news

---------
2024-01-15 01:25:20 +08:00
JimenezLi 1a49f937d8 fix(route): fix twitch (#14238)
* fix(route): fix twitch

* fix docs
2024-01-14 15:21:19 +00:00
Ethan Shen 376ebf4bc4 feat(route): add TradingView Desktop releases and release notes (#14234) 2024-01-14 16:02:07 +08:00
DIYgod 9dc7e52db9 Merge branch 'master' into pr/justjustCC/14123 2024-01-13 19:45:10 +08:00
JimenezLi 0e70524248 feat(proxy): add PAC script support (#14218)
* feat(proxy): add PAC script support

* fix pnpm fail

* fix coverage

* fix coverage final

* update docs
2024-01-13 02:35:56 +00:00
github-actions[bot] 697a479047 style: auto format 2024-01-13 02:05:50 +00:00
github-actions[bot] 34cc84be07 style: auto format 2024-01-12 14:38:56 +00:00
falling 82622e71c5 feat(route): add BT之家1LOU站 (#14219)
* route: BT之家1LOU

* 1. using new routers.
2. If path is empty, visit correct main page of website.
3. roll back deleted doc by mistake.

* Update lib/v2/1lou/radar.js

* Update website/docs/routes/multimedia.mdx

* Update website/docs/routes/multimedia.mdx

---------
2024-01-12 22:37:18 +08:00
Tony c66e8f6277 docs: fix maintainer 2024-01-12 22:14:11 +08:00
Yohan Wal 72067b5811 feat(route): trending papers on arXiv from trendingpapers (#14182) 2024-01-11 01:09:48 +08:00
ZenoTian 1cf341f1fa feat(route): HoYoLAB (#14146)
* hoyolab

* 修改分页参数

* 统一名称

* 替换limit参数

* 参数默认值问题

* 参数默认值问题
2024-01-10 23:38:32 +08:00
github-actions[bot] f8a432e830 style: auto format 2024-01-10 03:07:01 +00:00
Manish Bhattarai 327d0d0c77 feat(route): Add ekantipur.com (Nepal) (#14207)
* feat(route): Add ekantipur remove unused deps

* feat(route): Add ekantipur radar

* removed undefined field

* updated maintainer.js to use optional field character - ?

* updated radar.js with full name

---------
2024-01-10 03:05:23 +00:00
华丽 12b409fa62 feat(route): add huggingface zh blog (#14211)
* feat(route): add huggingface zh blog

* refactor: update
2024-01-10 02:38:26 +00:00
Damian Kaczmarczyk 413c97a0cf feat(route): Add Onet (#14200)
* feat(route): Add Onet

* use arrow function in `router.js`

* Update lib/v2/onet/templates/article.art

* Update lib/v2/onet/templates/image.art

* Update lib/v2/onet/maintainer.js

* Update website/docs/routes/new-media.mdx

---------
2024-01-09 23:40:40 +08:00
Nano c626f8ccde fix(route): 处理大麦网查询结果为空的情况 (#14203)
* fix(route): 处理大麦网查询结果为空的情况

* refactor: migrate to v2

---------
2024-01-08 13:48:20 +08:00
Ethan Shen 64d87889de feat(route): add 中华全国专利代理师协会 (#14197) 2024-01-08 12:22:35 +08:00