Commit Graph

7443 Commits

Author SHA1 Message Date
CancerGary 950bfa61ed
feat(route): add juejin news (#7969)
* feat(route): add juejin news

* feat(route): add juejin news

* fix(route): juejin news pubDate

* fix: fix utility

* refactor: migrate to v2

* fix: typo

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-20 01:55:18 +08:00
Fatpandac 8a8dde7432
fix(docs): douban/movie_weekly remove tv_weekly_best options (#9786) 2022-05-20 00:41:42 +08:00
dependabot[bot] 9e9757d8ea
chore(deps-dev): bump eslint-plugin-yml from 0.15.0 to 1.0.0 (#9783)
Bumps [eslint-plugin-yml](https://github.com/ota-meshi/eslint-plugin-yml) from 0.15.0 to 1.0.0.
- [Release notes](https://github.com/ota-meshi/eslint-plugin-yml/releases)
- [Commits](https://github.com/ota-meshi/eslint-plugin-yml/compare/v0.15.0...v1.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-yml
  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-05-19 05:40:41 +08:00
b0ttle f477e3e8bf
fix(route): fixed routes/earthquake and ceic timezone shift (#9780)
* fixed routes/earthquake and ceic timezone shift

* use utils/timezone and remove changes on yarn.lock

* edit format problem

* refactor: migrate to v2
2022-05-19 01:29:58 +08:00
KotoriK 6187a08227
fix(route:aliyun/developer/group): 获取到的全是0 (#9741)
* fix(route:aliyun/developer/group): 获取到的全是0

* Update lib/routes/aliyun/developer/group.js

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

* Update lib/routes/aliyun/developer/group.js

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

* refactor: migrate to v2

* refactor: use cache.tryGet

* fix: add radar

* fix: article parsing
2022-05-19 00:03:00 +08:00
dependabot[bot] f12e407217
chore(deps): bump ioredis from 5.0.4 to 5.0.5 (#9778)
Bumps [ioredis](https://github.com/luin/ioredis) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.0.4...v5.0.5)

---
updated-dependencies:
- dependency-name: ioredis
  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-17 23:28:40 +01:00
github-actions[bot] be93c32875 style: auto format 2022-05-17 20:27:50 +00:00
NeverBehave 17d6648c91 chore(docs): faq add details for referrer issue 2022-05-17 13:25:16 -07:00
Fatpandac 5b620f60a6
feat(route): add 苏州科技大学教务处 (#9777)
* feat(route): add 苏州科技大学教务处

* fix(radar): fix radar docs link

* fix(route): fix CodeQl high severity security vulnerability

* Update lib/v2/usts/jwch.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-05-18 01:26:36 +08:00
Nite07 f17ff7104c
feat(route): add Mobilism (#8949)
* Add(route): add Mobilism

* 去除注释
去除登录

* Revert "去除注释"

This reverts commit 8b1409aee2f44335bca39efdab8d524e749ccb3e.

* 尝试修复重复推送问题

* 修复部分情况下时间获取错误

* 去除时间获取(重复推送BUG无法解决)
增加全文获取

* 添加参数判断是否获取全文

* 修改

* 2022年1月30日14:22:40

* fix: remove login, use built-in `toTitleCase`

* docs: add missing docs

* fix: radar

* fix: typo

Co-authored-by: Nite07 <nmy1207@outlook.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-17 23:36:06 +08:00
Fatpandac 8d5836e3f3
fix(route): 9to5/subsite fix selector, use tag and refactor to V2 (#9771)
* fix(route): 9to5/subsite fix selector and refactor to V2

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* fix(route): change link

* Update lib/v2/9to5/subsite.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* fix(docs): add radar and rssbud badges

* Update lib/v2/9to5/subsite.js

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

Co-authored-by: Rongrong <i@rong.moe>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-05-17 23:18:02 +08:00
Tony 0f31bfa8b9
fix(utils): parse relative date with meridiem (#9775)
* fix(utils): parse relative date with meridiem

* fix: use regex
2022-05-17 20:21:47 +08:00
Rongrong 731c11176d
docs(*): add puppeteer budge (#9772)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-17 19:47:39 +08:00
Rongrong eeb37848cb
ci(comment-on-issue): bugfix, polish phrases (#9773) [skip ci] 2022-05-16 16:06:17 -07:00
github-actions[bot] 73b553de76 style: auto format 2022-05-16 17:15:40 +00:00
Arracc f7c02471d0
fix(route): yomiuri news list structure changed (#9764) 2022-05-17 01:13:55 +08:00
NeverBehave 768a51f266 chore(workflow): close issue if not found, add v1/v2 route tag 2022-05-16 02:58:54 -07:00
dependabot[bot] e787d2a50e
chore(deps): bump rand-user-agent from 1.0.62 to 1.0.63 (#9763)
Bumps [rand-user-agent](https://github.com/WebScrapingAPI/rand-user-agent) from 1.0.62 to 1.0.63.
- [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-15 23:55:47 +08:00
TonyRL d65f5fd053 chore(workflow): puppeteer test dont fail fast 2022-05-15 15:54:40 +00:00
dependabot[bot] 291ddd9266
chore(deps-dev): bump eslint-plugin-yml from 0.14.0 to 0.15.0 (#9762)
Bumps [eslint-plugin-yml](https://github.com/ota-meshi/eslint-plugin-yml) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/ota-meshi/eslint-plugin-yml/releases)
- [Commits](https://github.com/ota-meshi/eslint-plugin-yml/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-yml
  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-15 23:46:59 +08:00
TonyRL 25a7ae3888 chore(dependabot): update ignore list
ref: #9758
2022-05-15 15:27:02 +00:00
Ethan Shen a4ce5128ab
feat(route): add 河北省财政厅 (#9759)
* feat(route): add 河北省财政厅

* regenerate

* fix typo

* fix typo
2022-05-15 22:21:42 +08:00
Rongrong bab100a487
feat(route/twitter): allow force using Web API (#9760)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-15 22:17:23 +08:00
Yue 9e32a7971e
fix(route): 优化知乎问题获取方式,不必设置环境变量 (#9754)
* improve:优化知乎问题获取方式,不必设置环境变量

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* add cache support for dc_0(by Rongrong <i@rong.moe>)

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-15 18:13:29 +08:00
NeverBehave d72740682c fix(workflow): rebuild assets on script changes 2022-05-15 03:10:27 -07:00
NeverBehave d080c6c59e fix(workflow): eslint and NOROUTE [skip ci] 2022-05-15 02:59:40 -07:00
Rongrong 49c0265e18
feat(radar): build JSON-versioned radar rules (#9756)
with `target` functions filtered out, of course

Signed-off-by: Rongrong <i@rong.moe>
2022-05-15 02:33:44 -07:00
NeverBehave 2c41038726
chore(workflow): ping maintainer on matched routes; [skip ci] (#9758) 2022-05-15 02:31:33 -07:00
Tony 84f543072f
fix(route): nature research null description (#9752) 2022-05-14 02:18:16 +08:00
Tony 6b9e46b86b
style: disable eslint on g_encrypt 2022-05-14 01:32:08 +08:00
TonyRL 07af76483a style: fix lint 2022-05-13 17:26:21 +00:00
Tony a4d0e8c553
chore(deps): remove unused dep `ip` and `ci-info` (#9750) 2022-05-14 01:19:04 +08:00
github-actions[bot] bd7e5e768e style: auto format 2022-05-13 16:51:25 +00:00
auto-bot-ty 6c12c7686a
feat(route): 旅法师营地 显示内嵌b站视频地址 (#9749)
Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2022-05-14 00:49:25 +08:00
TonyRL c29bd1e56b style: disable eslint on g_encrypt 2022-05-13 16:47:56 +00:00
Tony 039e8eb80f
fix(route): nature (#9748) 2022-05-14 00:37:06 +08:00
Yue 08602c778c
fix(route): 修复/zhihu/question无法获取,需要设置非登录状态下cookie (#9729)
* 修复/zhihu/question,需要设置非登录状态下cookie

* Update lib/routes/zhihu/execlib/g_encrypt.js

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

* 根据TonyRL review建议进行了修改

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* 增加cookie中dc_0字段检验

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* refactor: migrate to v2

* fix: Incomplete URL substring sanitization

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-14 00:21:11 +08:00
Tony 98ccf86dff
docs: scihub badge in en docs (#9747) 2022-05-13 22:48:45 +08:00
KotaHv 3205a1de20
fix(route): Epic Games Store (#9746) 2022-05-13 06:06:45 -04:00
Henry 659997e4cc
fix: wrong cache key 2022-05-13 05:42:36 +01:00
dependabot[bot] 6ec2ba9013
chore(deps): bump lru-cache from 7.10.0 to 7.10.1 (#9743)
Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 7.10.0 to 7.10.1.
- [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.10.0...v7.10.1)

---
updated-dependencies:
- dependency-name: lru-cache
  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-13 08:08:52 +10:00
dependabot[bot] 042ecc62da
chore(deps): bump lru-cache from 7.9.0 to 7.10.0 (#9738)
Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 7.9.0 to 7.10.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.9.0...v7.10.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-12 06:03:18 +08:00
Rongrong 4e407d7aaa
ci(test): ignore push event on `dependabot/**` (#9736)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-12 01:53:21 +08:00
dependabot[bot] c0edc6ba9d
chore(deps): bump tiny-async-pool from 2.0.1 to 2.1.0 (#9731)
Bumps [tiny-async-pool](https://github.com/rxaviers/async-pool) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/rxaviers/async-pool/releases)
- [Commits](https://github.com/rxaviers/async-pool/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: tiny-async-pool
  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-11 06:23:53 +08:00
dependabot[bot] f02b5b4bb9
chore(deps): bump dotenv from 16.0.0 to 16.0.1 (#9730)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.0.0 to 16.0.1.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1)

---
updated-dependencies:
- dependency-name: dotenv
  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-11 05:48:27 +08:00
dependabot[bot] 3e81ed04e1
chore(deps): bump cirrus-actions/rebase from 1.6 to 1.7 (#9733)
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.6 to 1.7.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.6...1.7)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  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-11 05:48:04 +08:00
dependabot[bot] 408284c11e
chore(deps): bump rand-user-agent from 1.0.61 to 1.0.62 (#9727)
Bumps [rand-user-agent](https://github.com/WebScrapingAPI/rand-user-agent) from 1.0.61 to 1.0.62.
- [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-10 17:20:22 +11:00
dependabot[bot] d1cf0b57e2
chore(deps-dev): bump eslint from 8.14.0 to 8.15.0 (#9726)
Bumps [eslint](https://github.com/eslint/eslint) from 8.14.0 to 8.15.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.14.0...v8.15.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-05-10 05:10:48 +08:00
github-actions[bot] 22c480a105 style: auto format 2022-05-09 14:20:57 +00:00
AEliu efd646d323
feat(route): add 中国智库网-观点与实践 (#8779)
* Add 中国智库网观点与实践

* style: auto format

* v2-chinathinktanks

* fix maintainer

* cache try get

* fix: viewpoint

* fix: parse relative date

* docs: fix example

* fix: typo

Co-authored-by: GitHub Action <action@github.com>
2022-05-09 22:18:52 +08:00