Commit Graph
10342 Commits
Author SHA1 Message Date
Rongrong c4ca3e4ee9 feat(route): add ally/rail (#9660)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 23:15:12 +08:00
TonyRL d9dd7afbb0 fix(radar): szse docs url 2022-04-30 15:06:13 +00:00
Ethan Shen 22bbc76ef5 fix(route): 深圳证券交易所问询函件 (#9658)
* fix(route): 深圳证券交易所问询函件

* fix typo

* fix description

* docs: fix category
2022-04-30 23:03:30 +08:00
Rongrong 6bdb57c91c chore(CI): re-enable codecov token to fix error (#9664)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-29 22:48:49 -05:00
Rongrong 72070d40cc chore(*): fix code coverage not uploaded (#9661)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 07:37:23 +08:00
dependabot[bot] 78a5ce1922 chore(deps-dev): bump nodemon from 2.0.15 to 2.0.16 (#9662)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.15 to 2.0.16.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.15...v2.0.16)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
  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-04-30 07:15:22 +08:00
dependabot[bot] 1130372af1 chore(deps-dev): bump jest from 28.0.2 to 28.0.3 (#9663)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.2 to 28.0.3.
- [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.0.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  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-04-30 04:53:56 +06:00
zoenglinghou 9b176217f3 docs: Update documentation for IMAP config to reflect #8212 (#9657) 2022-04-29 10:00:56 +00:00
DIYgod 5d3692384e docs: add carbon ads 2022-04-29 10:55:17 +01:00
Ethan Shen 4e65978b0c feat(route): add C114通信网滚动新闻 (#9651)
feat(route): add C114通信网滚动新闻
2022-04-29 01:12:31 +01:00
dependabot[bot] ff3fa740f4 chore(deps): bump puppeteer from 13.6.0 to 13.7.0 (#9655)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.6.0 to 13.7.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.6.0...v13.7.0)

---
updated-dependencies:
- dependency-name: puppeteer
  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-04-28 11:04:06 -12:00
dependabot[bot] 15717f3a8e chore(deps): bump mailparser from 3.4.0 to 3.5.0 (#9654)
Bumps [mailparser](https://github.com/nodemailer/mailparser) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/nodemailer/mailparser/releases)
- [Commits](https://github.com/nodemailer/mailparser/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: mailparser
  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-04-29 06:11:23 +08:00
Tony e063633cd7 refactor: switch to twitter-api-v2 from twit (#9652) 2022-04-29 01:35:10 +08:00
Zhiyang Guo 4f5699ba0e feat(route): add Zotero (#9650)
* feat(route): add Zotero

* docs: add en docs

* docs: use chinese for cn docs
2022-04-29 01:19:12 +08:00
dependabot[bot] f76d0428a9 chore(deps-dev): bump jest from 28.0.1 to 28.0.2 (#9642)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.1 to 28.0.2.
- [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.0.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  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-04-28 21:49:46 +08:00
dependabot[bot] 4411dd2608 chore(deps-dev): bump supertest from 6.2.2 to 6.2.3 (#9643)
Bumps [supertest](https://github.com/visionmedia/supertest) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v6.2.2...v6.2.3)

---
updated-dependencies:
- dependency-name: supertest
  dependency-type: direct:development
  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-04-28 21:19:01 +08:00
neilnaveen ba496a625c chore: Set permissions for GitHub actions (#9644)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-28 21:01:45 +08:00
Rongrong d8c00ec238 build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

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

* build(Dockerfile): fix redundant command and label

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

* build(docker): only install prod deps to speed up

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

* docs(install): minor fixes

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

* build(Dockerfile): bump to `node:16-bullseye-slim`

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

* build(Dockerfile): fix yarn registry mirror

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

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
Tony 34b58ebc64 fix(utils): request without hostname (#9649) 2022-04-28 19:35:31 +08:00
Ethan Shen 969df26d3d fix(route): 联合早报图片重定向 (#9645) 2022-04-28 19:08:37 +08:00
bao1991213 bba6a46d19 feat(route): add 人人影视-今日播出 (#9619)
* feat(route): add 人人影视-今日播出

* feat(route): 人人影视-今日更新 v2 standard

* refactor: migrate to v2

* fix: apply suggestion
2022-04-27 23:01:32 +08:00
dependabot[bot] 5adab5e8ae chore(deps-dev): bump jest from 28.0.0 to 28.0.1 (#9635)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.0.0 to 28.0.1.
- [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.0.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  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-04-27 10:23:32 +01:00
Ethan Shen 3d98cf66ef fix(route): 京东商品价格标题 (#9638)
* fix(route): 京东商品价格标题

* fix: add guid
2022-04-27 07:01:49 +01:00
dependabot[bot] 04e851bf73 chore(deps): bump @sentry/node from 6.19.6 to 6.19.7 (#9636)
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 6.19.6 to 6.19.7.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/6.19.6...6.19.7)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  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-04-27 02:46:57 +01:00
Tony ff977597f1 fix(route): bilibili video page ordering, accept common limit params (#9634) 2022-04-27 04:19:38 +08:00
dependabot[bot] a03d51ae2d chore(deps-dev): bump jest from 27.5.1 to 28.0.0 (#9622)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 28.0.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.0.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  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-04-26 19:55:52 +08:00
Jigsaw a82e9057ca feat(route): add 中南大学计算机学院通知 (#9631)
* feat(route): add 中南大学计算机学院通知

* fix: use nullish coalescing
2022-04-26 19:48:50 +08:00
Ethan Shen 3b73533f95 feat(route): add 京东商品价格 (#9629) 2022-04-26 13:29:40 +08:00
dependabot[bot] 3073ef2e58 chore(deps): bump rand-user-agent from 1.0.59 to 1.0.60 (#9623)
Bumps [rand-user-agent](https://github.com/WebScrapingAPI/rand-user-agent) from 1.0.59 to 1.0.60.
- [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-04-26 05:26:06 +08:00
dependabot[bot] 9013eb7482 chore(deps): bump github/codeql-action from 1 to 2 (#9621)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-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-04-26 04:40:50 +08:00
TonyRL 44eb849ed7 fix: typo in comment
[skip ci]
2022-04-25 13:47:48 +00:00
Rongrong 6510892497 feat(route)(douyin/user): major rewrite (#9618)
new:
embedded video
pubDate
category
avatar
user description

fix:
potential element class change

Signed-off-by: Rongrong <i@rong.moe>
2022-04-25 21:43:29 +08:00
Ethan Shen bc92dbcdc2 feat(route): add 中南财经政法大学通知公告 (#9616) 2022-04-25 20:56:47 +08:00
Derek 68b2499d4a feat(route): optimize the display title of jasa, ieee and elsevier journal (#9615) 2022-04-25 10:15:39 +01:00
zytomorrow 133a9602e7 fix(route): sichuan/deyang 政府公开信息 (#9613) 2022-04-25 08:22:50 +01:00
huangliangshusheng 65857026f8 feat(route): add syosetu (#9612)
* feat(route): add syosetu

* fix doc
2022-04-25 11:01:47 +08:00
377c2c4d57 feat(route): add chinafactcheck (#9611)
* add(route): 首席经济学家论坛

* fix(route) : merge from FledgeXu

* fix(route) : merge from FledgeXu

* (fix) typo

* feat(route): remove radar from radar-rules.js

* Update lib/v2/chinacef/hot.js

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

* Update lib/v2/chinacef/router.js

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

* Update lib/v2/chinacef/maintainer.js

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

* Update lib/v2/chinacef/experts.js

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

* Update lib/v2/chinacef/experts.js

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

* Update hot.js

* Update experts.js

* docs: fix Route's path and example of chinacef

* Revert "docs: fix Route's path and example of chinacef"

This reverts commit 0ec9e7d9d6d1eff201482e38a26b255478861a5c.

* docs: fix Route's path and example of chinacef

* feat(route): add chinafactcheck

Co-authored-by: linkai <linkai@mochasoft.com.cn>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-25 10:37:48 +08:00
Ethan Shen c9e423b8f1 feat(route): add Coomer (#9610)
* feat(route): add Coomer

* fix typo
2022-04-25 08:56:03 +08:00
dependabot[bot] 7be82ccdd0 chore(deps): bump markdown-it from 12.3.2 to 13.0.0 (#9602)
* chore(deps): bump markdown-it from 12.3.2 to 13.0.0

Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.3.2 to 13.0.0.
- [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/12.3.2...13.0.0)

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

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

* docs: fix repo issues example

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 00:57:47 +08:00
swwind 29c04851da feat(route): add arknights announce (#9607)
* feat: add arknights announce

* feat: dynamic rss title

* migrate arknights to v2

* fix: replace dayjs to parseDate

* refactor: sort maintainer and router

feat: add radar

refactor: use parseDate utils
2022-04-24 23:36:14 +08:00
DylanXie123andTonyRL 10acacfa46 feat(route): add 北京大学学生就业指导服务中心 (#7904)
* feat(route): add 北京大学学生就业指导服务中心

* fix(route): get content from sript tag

request content in script tag to get full text

* fix(doc): fix parameter description

* fix(route): fix header and selector

* add test request and wait

* docs: fix warning

* refactor: migrate to v2

* fix: eecs

refactor: legacy url.resolve

refactor: use parseDate from utils

* docs: fix recruit path

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-24 23:14:17 +08:00
Max-TortoiseandTony c9bb12fc34 feat(route): add 抖音 (#9604)
* feat(route): add 抖音

* Update lib/v2/douyin/user.js

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

* Update lib/v2/douyin/user.js

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

* fix substring and add config require

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-24 17:14:27 +11:00
Sxuet c7aa447100 feat(route): 北极星光伏 (#9542)
* 新增北极星光伏网路由

* 规范化北极星光伏网路由

* 修改一些文本错误

* refactor: migrate to v2
2022-04-23 19:16:16 +08:00
ZhenHappy ac11c9e2f5 feat(route): add A姐分享NSFW (#9596)
* feat(route): add A姐分享NSFW

* feat(route): add A姐分享NSFW
2022-04-23 13:41:14 +08:00
github-actions[bot] 312fd168ac style: auto format 2022-04-23 04:39:25 +00:00
shininomeandTony ef8aeab553 fix(route): 解决bilibili专栏多张图片时无法获取问题 (#9601)
* Add files via upload

* Update lib/v2/bilibili/article.js

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

* Update lib/v2/bilibili/article.js

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

* Update lib/v2/bilibili/article.js

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

* Update article.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-23 10:37:25 +06:00
dependabot[bot] 2eebabddd2 chore(deps-dev): bump eslint from 8.13.0 to 8.14.0 (#9603)
Bumps [eslint](https://github.com/eslint/eslint) from 8.13.0 to 8.14.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.13.0...v8.14.0)

---
updated-dependencies:
- dependency-name: eslint
  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-04-23 07:30:50 +10:00
github-actions[bot] a9799e47a5 style: auto format 2022-04-22 18:23:39 +00:00
程序员老马andTonyRL 159da9059e fix(route): 教育部路由新增教育要闻分类,修复部分文章标题取值;优化雪球路由,对于讨论帖直接获取完整内容 (#9556)
* 雪球的讨论帖可以直接从text字段中取到完整内容,长文帖只有description字段有值,获取逻辑不变

* 教育部路由增加“教育要闻”栏目类型获取,同时修复教育部文章title获取不到的问题

* 补充教育部路由增加教育要闻栏目类型的文档

* refactor: migrate to v2

* fix: legacy url.resolve

* 修复雪球返回完整讨论帖时遗漏了转发内容的问题

* 移除重复的key

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-23 02:21:38 +08:00
yuxinliu-alexandyuxinliu 4dbd8f0e57 fix(route): CCTV - The link to detail page got blanks which cause the script can't get that item. (#9594)
Co-authored-by: yuxinliu <yuxin2@mgtv.com>
2022-04-22 19:48:04 +08:00