Commit Graph
10342 Commits
Author SHA1 Message Date
Liu233w 145ad517b6 feat: add immiau (#9722)
* feat(route): add immiau

Add news entry of Immigration and Citizenship, Department of Home Affairs, Australia.

* feat(route): add cn document for immiau

* refactor(router): move immiau to gov folder
2022-05-08 23:27:19 +08:00
Hagb (Junyu Guo 郭俊余)andTonyRL eb79456f40 docs: support parameter suffix * (#7946)
* docs: support parameter suffix `*`

`*` denotes a zero or more parameter matches, so the parameter including `*` is optional. (https://github.com/pillarjs/path-to-regexp#zero-or-more)

* docs: mention the parameter suffix `*`

* docs: support parameter suffix `+`

* docs: add document of parameter suffixs

* docs: fix having / at the end of parameter

* docs: add missing changes in en docs

* docs: typo

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-07 17:18:35 +08:00
dependabot[bot] 2441ef91f0 chore(deps): bump rand-user-agent from 1.0.60 to 1.0.61 (#9680)
Bumps [rand-user-agent](https://github.com/WebScrapingAPI/rand-user-agent) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/WebScrapingAPI/rand-user-agent/releases)
- [Commits](https://github.com/WebScrapingAPI/rand-user-agent/commits)

---
updated-dependencies:
- dependency-name: rand-user-agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 22:59:32 +01:00
dependabot[bot] 33cb200b04 chore(deps-dev): bump jest from 28.0.3 to 28.1.0 (#9718)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.3 to 28.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.1.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 19:44:31 -02:00
dependabot[bot] c6d2667e0e chore(deps): bump dayjs from 1.11.1 to 1.11.2 (#9717)
Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/v1.11.2/CHANGELOG.md)
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: dayjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 19:14:54 -02:00
Henry 19e3833598 fix: 懂球帝缓存错误 2022-05-06 21:38:22 +01:00
github-actions[bot] 115bf9338e style: auto format 2022-05-06 16:43:25 +00:00
程序员老马 808147545f fix(route): bug fix and perf improve for moe (#9703)
* 有些直播页没有内容可提取,直接返回直播页的url

* 公告公示的详情页需要使用id选择器来提取内容

* lint code & add referer header to simulate the behavior of a real browser

* forgot the 'method' option
2022-05-07 00:41:48 +08:00
Ethan Shen 3323398731 fix(route): Epic Games Store (#9712)
* fix(route): Epic Games Store

* docs: add locale and country
2022-05-07 00:28:40 +08:00
notofoe a37cf18153 refactor (route/mastodon): quick fix on empty reposted toots (#9700) 2022-05-06 17:03:57 +08:00
Rongrong 4432bb0f19 chore(*): fix improper @pull[bot] config (#9710)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 20:35:19 -05:00
dependabot[bot] 4b3cb4a130 chore(deps): bump docker/build-push-action from 2 to 3 (#9705)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:55:50 +08:00
dependabot[bot] 0659260576 chore(deps): bump docker/metadata-action from 3 to 4 (#9707)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:52:30 +08:00
dependabot[bot] c4e605921f chore(deps): bump docker/login-action from 1 to 2 (#9709)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:50:43 +08:00
dependabot[bot] e88114958e chore(deps): bump docker/setup-buildx-action from 1 to 2 (#9706)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:48:02 +08:00
dependabot[bot] 8ea47d6948 chore(deps): bump docker/setup-qemu-action from 1 to 2 (#9708)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:45:16 +08:00
Rongrong 3d21235b40 chore(*): PR route test result auto-split (#9699)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-06 04:38:15 +08:00
Rongrong 955de7d52a refactor(route/jike): extract repeated logic; fix await (#9698)
* refactor(route/jike): rename `common` -> `utils`

Signed-off-by: Rongrong <i@rong.moe>

* refactor(route/jike): extract repeated logic

Signed-off-by: Rongrong <i@rong.moe>

* fix(route/jike): lack await

Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 22:36:15 +08:00
github-actions[bot] f3741e8530 style: auto format 2022-05-05 13:49:44 +00:00
neila a6b2f65c5e feat(route): add njit (#9696)
* first add njit

* add njit radar

* Update lib/v2/njit/radar.js
2022-05-05 02:48:05 -11:00
Rongrong 63ccc9499b fix(route/jike): image URL; outdated usage (#9693)
* fix(route/jike): image URL; outdated usage

Signed-off-by: Rongrong <i@rong.moe>

* refactor: migrate to v2

* fix: unescaped .

* feat(route/jike): new radar rule

Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 20:28:04 +08:00
TonyRL 2bcc6f6ad0 test: puppeteer wait until test finish 2022-05-04 20:43:15 +00:00
be1a1b303c fix(route): uraaka-joshi (#7908)
* modify uraaka-joshi to puppeteer

* style: auto format

* fix(route): uraaka-joshi and user

* docs: fix author

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-05 04:22:23 +08:00
Rongrong ff3fcdd97e chore(CI): remove setup-QEMU from docker-test (#9690)
useless step

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 17:35:08 +10:00
Rongrong 23fcb6bc5a feat(core/utils/request-wrapper): request logging (#9691)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 12:36:48 +10:00
Rongrong c1fbc64255 chore(*): detailed info for PR route test (#9689)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 06:08:10 +08:00
dependabot[bot] dcc3c80294 chore(deps): bump markdown-it from 13.0.0 to 13.0.1 (#9688)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 13.0.0 to 13.0.1.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/13.0.0...13.0.1)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 05:19:21 +08:00
Rongrong a5d74e521c feat(core/middleware/anti-hotlink): route matching (#9681)
* feat(core/middleware/anti-hotlink): route matching

Signed-off-by: Rongrong <i@rong.moe>

* fix(test): coverage

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix mistaken config key

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 03:29:23 +08:00
Tony 225d922d9c fix(route): javdb new layout (#9687) 2022-05-04 03:02:47 +08:00
TonyRL e0a809fbc2 chore: set test image artifact to 1 day
1 build ~247MB, Pro account has 2GB
2022-05-03 18:01:38 +00:00
Tony 78b43b1b0c chore: add pr title lint (#9686)
* chore: add pr title lint

* chore: fix pr template typo
2022-05-04 01:31:23 +08:00
Tony 1dfc101a59 chore: bump gha node to v16 (#9685) 2022-05-03 20:10:10 +08:00
Zhiyang Guo ac7b3666d8 fix(route): 南京理工大学 (#9659)
* fix(route): 南京理工大学

* refactor: migrate to v2

* refactor: migrate to v2

* Update yarn.lock

* fix: remove standalone puppeteer extra

* fix(route): minor misc changes

* fix(route): sort routes in alphabetical order

* fix(route): update utils.js
2022-05-03 19:37:58 +08:00
Rongrong 7b6589cafa chore(*): migrate to GHA-based PR route test (#9683)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-03 19:24:27 +08:00
dependabot[bot] 569b7d8db1 chore(deps): bump lru-cache from 7.8.1 to 7.9.0 (#9679)
Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v7.8.1...v7.9.0)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 05:28:51 +08:00
Rongrong d676247f05 docs(parameter): URL encode warning (#9678)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-03 03:34:13 +08:00
Tony 0b544e1395 feat(utils): puppeteer-extra-plugin-stealth (#9676) 2022-05-03 01:17:17 +08:00
Tony 24e435d48f feat(route)!: remove dwnews (#9675) 2022-05-01 23:49:31 +08:00
github-actions[bot] 2dce0081e5 style: auto format 2022-05-01 14:00:05 +00:00
yuxinliu-alexandyuxinliu e21f09174c feat(route): 爱果果-最新H5 (#9648)
* feat(route): 爱果果-最新H5

* Update lib/v2/iguoguo/radar.js

* Update lib/v2/iguoguo/radar.js

Co-authored-by: yuxinliu <yuxin2@mgtv.com>
2022-05-01 21:58:29 +08:00
Mengxin Cao a428c4c5cd fix(route): broken link embassy/us (#9673)
* Fix broken link embassy/us

* refactor: migrate to v2

* fix: embassy/us selector
2022-05-01 21:27:20 +08:00
Rongrong 7a6be9a229 feat(core): customizable Chromium executable path (#9670)
* feat(core): customizable Chromium executable path

also build Chromium-bundled Docker image for arm/arm64

Signed-off-by: Rongrong <i@rong.moe>

* chore: fix typo

Signed-off-by: Rongrong <i@rong.moe>

* chore(CI/test): using build matrix

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix punctuation

Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +08:00
Rongrong 05fd12eb35 chore(coverage): exclude lib/router.js; link fix (#9671)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 18:08:33 +08:00
Zhiyang Guo f88e58b493 feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系 (#9666)
* fix(route): 中科大官网通知公告正文内容获取

* refactor: migrate to v2

* feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系

* fix: sort router

* fix: deprecated url.resolve

* fix: fulltext cache

fix: nullish coalescing

fix: data.link

fix: cache.tryGet

* fix: deepscan
2022-05-01 17:36:33 +08:00
Henry Wang 1a547caf3b feat(route): 更新少数派全文支持 (#9653)
* feat: 少数派首页全文输出

* feat: 少数派全路由全文

* feat: 少数派专栏全文

* refactor: migrate to v2

* fix: cache key
2022-05-01 17:34:45 +08:00
Dag a306f8e89f docs: add example to curiouscat that works (#9672) 2022-05-01 12:15:21 +07:00
Ethan Shen 70e20bec2c fix(route): 有知有行有知文章 (#9668) 2022-05-01 06:34:00 +08:00
Ethan Shen e5484a75bd feat(route): add 云听 (#9665)
* feat(route): add 云听

* fix typo

* fix: wrong data
2022-05-01 06:13:57 +08:00
Rongrong 616ad78c88 fix(core/utils/anti-hotlink): invalid HTML output (#9669)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 04:14:07 +08:00
Henry d5e1217498 fix: 修复懂球帝部分路由图片加载的bug 2022-04-30 20:57:13 +01:00