Commit Graph

7140 Commits

Author SHA1 Message Date
Rongrong 95db3b4e99
fix(core): torrent searching error (#9407)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-29 21:12:16 +08:00
Rongrong cd91931876
feat(route): try to avoid being anti-crawled (#9406)
* feat(route)(weibo): try to avoid being anti-crawled

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* refactor(route)(telegram/channel): migrate to `cache.tryGet`

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* feat(route)(douban): try to avoid being anti-crawled

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* feat(route)(picuki): try to avoid being anti-crawled

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* ref: got.get() to got()
2022-03-29 20:58:46 +08:00
CaoMeiYouRen b70e690a5c
feat(route): 新增 米游社 路由 (#9404)
* feat: 优化B站动态转发内容中的图片和视频

* style: 修复格式错误

* fix: 修复 B站动态转发多图的图片缺失

* style: 整理代码格式

* style: 整理代码格式

* fix: 修复B站动态转发视频缺失标题

* fix: 移除了部分不必要的代码

* fix: 修复b站动态中转发直播间动态出现undefined;整理部分代码

* style: 整理代码格式

* fix: 补充b站动态中转发活动的信息

* fix: 修正代码格式

* fix: b站动态转发专题页缺少标题;整理部分代码

* fix: 修复图片错误

* fix: 修复专栏封面缺失的bug;增加B站动态格式总结

* style:修复格式问题

* fix: 修复/robots.txt路由

* fix

* chore: 合并冲突

* fix

* fix

* feat: 优化B站动态url

* fix: 改 \n 为<br>

* chore: 更新 npm registry

* feat: 完成 米游社路由和文档的编写

* fix: 修复 @vuepress/shared-utils 在 yarn.lock 的缺失

* chore: exact match

* fix: parseDate
2022-03-29 20:21:21 +08:00
Rongrong 1fc9c4aa0d
fix(route)(douban/wish): username in feed title (#9408)
fix(route)(douban/wish): username in feed title
2022-03-28 17:47:10 -11:00
Tony 8e5971ec2d
Merge pull request #9409 from DIYgod/dependabot/npm_and_yarn/ioredis-5.0.1
chore(deps): bump ioredis from 4.28.5 to 5.0.1
2022-03-28 18:45:36 -09:00
dependabot[bot] bc13cdeea9
chore(deps): bump parse-torrent from 9.1.4 to 9.1.5 (#9410)
Bumps [parse-torrent](https://github.com/webtorrent/parse-torrent) from 9.1.4 to 9.1.5.
- [Release notes](https://github.com/webtorrent/parse-torrent/releases)
- [Changelog](https://github.com/webtorrent/parse-torrent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webtorrent/parse-torrent/compare/v9.1.4...v9.1.5)

---
updated-dependencies:
- dependency-name: parse-torrent
  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-03-29 06:07:57 +08:00
dependabot[bot] a48af2887e
chore(deps-dev): bump eslint from 8.11.0 to 8.12.0 (#9412)
Bumps [eslint](https://github.com/eslint/eslint) from 8.11.0 to 8.12.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.11.0...v8.12.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-03-29 05:11:38 +08:00
dependabot[bot] 8cacd98aae
chore(deps): bump ioredis from 4.28.5 to 5.0.1
Bumps [ioredis](https://github.com/luin/ioredis) from 4.28.5 to 5.0.1.
- [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/v4.28.5...v5.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 21:04:06 +00:00
Fatpandac 21dbeba12f
feat(route): 华硕 固件 (#9403)
* feat(route): 华硕 固件

* fix(route): change radar url and modify the date format
2022-03-28 23:16:17 +08:00
Rongrong 501dff59d0
refactor(core): unified memory cache (#9395)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-28 22:55:29 +08:00
Tony cd151f45ab
fix(utils): parseDate custom format not working 2022-03-28 22:25:40 +08:00
Genghis Yang 33eb860b08
fix(route): mpaypass news (#9367)
* fix(route): mpaypass news

* refactor: migrate to v2

* fix: parseDate
2022-03-28 20:41:20 +08:00
Ethan Shen 5927f28121
fix(route): PubMed Trending articles (#9402) 2022-03-28 20:20:30 +08:00
Tony 668286a58b
fix(route): qweather namespace (#9398) 2022-03-27 23:59:47 +08:00
Ethan Shen a3396029ec
fix(utils): wrong last weekday for relative date (#9397) 2022-03-27 23:39:44 +08:00
Tony e5b2676534
docs: fix blank page (#9396) 2022-03-27 19:46:36 +08:00
Rongrong 8c2039902e
feat(route)(weibo): display comments (#9394)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-27 01:51:42 +08:00
忧郁的紫色毛衣男孩 e61a90db77
fix(route): geo daily photo (#7555)
* 完成issues#7485,在每日一图-国家地理中增加每日精选节点

* 修改文档和router位置

* 对日期pubDate规范进行了调整

* 优化调整获取内容逻辑,修改pubDate字段的获取方式

* 调整pubDate参数

* 删除代码中多余的console

* 调整parse-date引用

* 调整时区

* issues-#7471,解决国家地理每日一图获取失败问题,因为网站更改,并且网站对图片进行了处理,所以调整获取方式。

* 删除无用代码

* 调整代码,错删了代码

* refactor: migrate to v2

* fix: nat geo photo of the day

* fix: natgeo parseDate

* style: lint

* feat: radar for natgeomedia.com

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-27 00:09:34 +08:00
Ethan Shen e42bdf3d97
fix(utils): typo in parse-date (#9391)
* fix(utils): typo in parse-date

* fix: add `后日`
2022-03-26 19:44:27 +08:00
Ethan Shen be5dd42e09
feat(route): add 安徽省科技厅 (#9387)
* feat(route): add 安徽省科技厅

* update lib/v2/gov/radar.js

* refactor: sort radar in alphabetical order
2022-03-26 18:12:54 +08:00
github-actions[bot] 329a04d06d style: auto format 2022-03-26 09:57:33 +00:00
Rein-Ou b55e9a3883
fix(route): Weather forcast (#9390)
* weather_forcast

* format

* cache

* Update lib/v2/weather/index.js

* Update lib/v2/weather/util/location.js

* Update docs/forecast.md

* modify

* Update forecast.md

* readme.md

* docs: reorder `HEFENG_KEY`

* fixed cache problem

* dependent fix

* add link

* Update index.js

* fix dependent

* index

* fix md doc
2022-03-26 17:55:04 +08:00
Ethan Shen d5648b37ee
fix(utils): parse relative dates with multiple time units (#9365)
* fix(utils): parse relative dates with multiple time units

* docs: remove warning

* fix: add more characters to match

* fix: rename to parse-date
2022-03-26 16:45:42 +08:00
dependabot[bot] cf04733824
chore(deps): bump googleapis from 98.0.0 to 99.0.0 (#9385)
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 98.0.0 to 99.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/googleapis-v98.0.0...googleapis-v99.0.0)

---
updated-dependencies:
- dependency-name: googleapis
  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-03-25 09:57:20 -12:00
dependabot[bot] 616a18149d
chore(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#9384)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.0...2.6.1)

---
updated-dependencies:
- dependency-name: prettier
  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-03-25 09:17:25 -12:00
github-actions[bot] fd439a1807 style: auto format 2022-03-25 15:59:52 +00:00
Rein-Ou 2a728f1e1c
feat(route): add Weather forcast (#9382)
* weather_forcast

* format

* cache

* Update lib/v2/weather/index.js

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

* Update lib/v2/weather/util/location.js

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

* Update docs/forecast.md

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

* modify

* Update forecast.md

* readme.md

* docs: reorder `HEFENG_KEY`
2022-03-25 23:57:33 +08:00
Ethan Shen 8ecad32db2
feat(route): add 澎湃明查 (#9380)
* feat(route): add 澎湃明查

* fix: 839studio routes

* docs: update example url

* fix: parseDate
2022-03-25 22:05:27 +08:00
Humble c91a4cdd1d
feat(route):add 政采云前端小报和博客 (#9379)
* feat(route):add 政采云前端小报和博客

* fix:因为使用了空值合并操作符??,所有node的版本必须大于等于14

* feat(route):add 政采云前端小报和博客

* fix:因为使用了空值合并操作符??,所有node的版本必须大于等于14

* docs:新增英文说明

* docs:调整位置

* feat: Modify Backquotes

* fix:remove duplicate rssbud and add zooTeam

* fix: add a close tag

* docs: fix docs tags and attrs

* fix:add timezone
2022-03-25 20:47:06 +08:00
huangliangshusheng d1cda2a2be
feat(route): add kakuyomu (#9371)
* feat(route): add kakuyomu

* feat(route): add kakuyomu

* add pubDate

* fix radar rule
2022-03-25 20:23:57 +08:00
Qin Ruizhe f3618bb148
feat(route): fix NUAA 教务处/计算机科学与技术学院信息 (#9361)
* feat(route): fix NUAA 教务处/计算机科学与技术学院信息

* refactor: migrate to v2

* fix: deprecated url.resolve
2022-03-25 03:21:32 +08:00
dependabot[bot] 2ae88b7e60
chore(deps): bump googleapis from 97.0.0 to 98.0.0 (#9376)
chore(deps): bump googleapis from 97.0.0 to 98.0.0
2022-03-24 05:19:30 +00:00
dependabot[bot] ff302572b8
chore(deps): bump @sentry/node from 6.19.1 to 6.19.2 (#9375)
chore(deps): bump @sentry/node from 6.19.1 to 6.19.2
2022-03-24 04:40:31 +00:00
dependabot[bot] 9b152cce4c
chore(deps): bump plist from 3.0.4 to 3.0.5 (#9374)
chore(deps): bump plist from 3.0.4 to 3.0.5
2022-03-24 02:28:57 +00:00
Fatpandac 259bcf1e5c
fix(route): ifeng/feng this route is empty (#9372)
* ifeng/feng this route is empty

* refactor: migrate to v2

* fix: parseDate
2022-03-24 01:47:29 +08:00
Tony baeafb97a5
feat: git hash on error (#9373) 2022-03-24 01:10:47 +08:00
Tony 6ba0cb246e
fix(route): dbmv category not working (#9366) 2022-03-23 22:34:35 +08:00
Tony c7cb516321
fix(route): headers in got usage (#9363) 2022-03-22 23:19:20 +08:00
Kevin Schaul 95789aafaa
feat(rotue): add nytimes/author route (#9356)
* Add nytimes/author route

* Removed unnecessary logger and fs usage

* refactor: migrate to v2
2022-03-22 22:52:49 +08:00
dependabot[bot] f8bd105003
chore(deps): bump json5 from 2.2.0 to 2.2.1 (#9360)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/master/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: json5
  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-03-22 06:07:23 +08:00
dependabot[bot] 7cbcb2bdb6
chore(deps): bump @sentry/node from 6.18.2 to 6.19.1 (#9359)
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 6.18.2 to 6.19.1.
- [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.18.2...6.19.1)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  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-03-22 05:13:16 +08:00
Ethan Shen d84ab79163
feat(route): add 中华人民共和国外交部外交动态 (#9348)
* feat(route): add 中华人民共和国外交部外交动态

* fix: wrong pubDate
2022-03-22 04:20:12 +08:00
Rongrong c48ca6bd5b
fix(core): invalid feed fields (#9286)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-22 02:13:15 +08:00
Tony fe775f5198
fix(route): github comments use api (#9358)
fix(route): github comments use api
2022-03-21 17:17:59 +00:00
Bin Wang 6b3d21438e
feat(route): add icon and logo to Bilibili atom feed (#9353)
Fetch Bilibili user avatar and use it as icon and logo for atom feed
2022-03-22 00:06:35 +08:00
Genghis Yang 10118b004f
fix(core): MEMORY_MAX should be an integer (#9352) 2022-03-20 23:06:41 +08:00
dependabot[bot] db78d3d275
chore(deps): bump tiny-async-pool from 1.2.0 to 2.0.1 (#9350)
* chore(deps): bump tiny-async-pool from 1.2.0 to 2.0.1

Bumps [tiny-async-pool](https://github.com/rxaviers/async-pool) from 1.2.0 to 2.0.1.
- [Release notes](https://github.com/rxaviers/async-pool/releases)
- [Commits](https://github.com/rxaviers/async-pool/compare/v1.2.0...v2.0.1)

---
updated-dependencies:
- dependency-name: tiny-async-pool
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix(route): tiny-async-pool v2 compatibility, url.resolve

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-20 22:40:32 +08:00
Ethan Shen 6477e6b8e4
feat(route): 观察者网输出全文 (#9338)
* feature(route): 观察者网输出全文

* fix: add radar

* fix typo

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

* fix: add timezone

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-19 21:01:03 +08:00
Ethan Shen b2137fc283
fix(route): JavBus alternative domain related links (#9336)
* fix(route): JavBus alternative domain related links

* fix: add magnets and previews in cache

* fix: remove redundant cache
2022-03-19 20:35:00 +08:00
dependabot[bot] 3c8a9a3043
chore(deps-dev): bump @vercel/nft from 0.17.5 to 0.18.0 (#9343)
chore(deps-dev): bump @vercel/nft from 0.17.5 to 0.18.0
2022-03-19 05:21:42 +08:00