Commit Graph

6934 Commits

Author SHA1 Message Date
dependabot[bot] 0884c8ba12
chore(deps-dev): bump @napi-rs/pinyin from 1.6.1 to 1.7.0 (#8768)
Bumps [@napi-rs/pinyin](https://github.com/Brooooooklyn/pinyin) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/Brooooooklyn/pinyin/releases)
- [Changelog](https://github.com/Brooooooklyn/pinyin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Brooooooklyn/pinyin/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: "@napi-rs/pinyin"
  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-02-09 23:06:43 +08:00
dependabot[bot] c20edc6d71
chore(deps-dev): bump nock from 13.2.1 to 13.2.4 (#9040)
Bumps [nock](https://github.com/nock/nock) from 13.2.1 to 13.2.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.1...v13.2.4)

---
updated-dependencies:
- dependency-name: nock
  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-02-09 22:55:09 +08:00
TonyRL fe07d4df4a chore: fix dependabot not ignoring ESM-only packages 2022-02-09 22:34:51 +08:00
uyoung 19603a0f3d
fix(route): 163music djradio missing data (#8822)
* fix:163music Abnormal quantity

* fix(route): loop through all data

* fix(route): fix parseDate

* fix(route): avoid promise overhead

* feat: add art-template render

* fix(route): Use HTTPS

Co-authored-by: uyoung <i@uyoung.co>
2022-02-09 22:25:23 +08:00
TonyRL 2a4902e49d chore: update dependabot ignore list 2022-02-09 22:20:04 +08:00
dependabot[bot] 00df5fe98d
chore(deps-dev): bump eslint from 8.3.0 to 8.8.0 (#8969)
Bumps [eslint](https://github.com/eslint/eslint) from 8.3.0 to 8.8.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.3.0...v8.8.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-02-09 21:04:55 +08:00
dependabot[bot] 0eebc1215c
chore(deps-dev): bump jest from 27.3.1 to 27.5.1 (#9029)
Bumps [jest](https://github.com/facebook/jest) from 27.3.1 to 27.5.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/compare/v27.3.1...v27.5.1)

---
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-02-09 21:02:35 +08:00
Fatpandac 8ea8033e9b
feat(route): add 12306火车票消息 and refactor to V2 (#9031)
* feat(route): add 12306火车票消息 and refactor to V2

* fix(route): change guid

* fix(route): change to use RSSHub's default UA

* fix(route): add handle exception
2022-02-09 21:00:18 +08:00
dependabot[bot] 1b4b3c5c28
chore(deps): bump ioredis from 4.28.1 to 4.28.5 (#9018)
Bumps [ioredis](https://github.com/luin/ioredis) from 4.28.1 to 4.28.5.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/master/Changelog.md)
- [Commits](https://github.com/luin/ioredis/compare/v4.28.1...v4.28.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-02-09 20:57:08 +08:00
dependabot[bot] dafa855b81
chore(deps): bump googleapis from 91.0.0 to 95.0.0 (#8992)
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 91.0.0 to 95.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-v91.0.0...googleapis-v95.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-02-09 20:55:58 +08:00
dependabot[bot] 9ca73db60f
chore(deps): bump string-similarity from 4.0.3 to 4.0.4 (#8608)
Bumps [string-similarity](https://github.com/aceakash/string-similarity) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/aceakash/string-similarity/releases)
- [Commits](https://github.com/aceakash/string-similarity/commits/4.0.4)

---
updated-dependencies:
- dependency-name: string-similarity
  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-02-09 20:54:12 +08:00
Ethan Shen 471ea1a848
feat(route): 乌有之乡栏目 (#9030)
* feat(route): 乌有之乡栏目

* fix: 404 pages
2022-02-09 20:06:53 +08:00
GitHub Action 1e1ff5d6d3 style: auto format 2022-02-08 12:28:52 +00:00
iceqing e81eb93049
docs: remove unnecessary `</Route>` (#9026) 2022-02-08 20:27:14 +08:00
Fatpandac 64f26bdda7
feat(route): add wallhaven (#9021)
* Feat(route): add wallhaven

* Fix(route): merge #9022

* Fix(docs): Update docs/en/picture.md

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

* Fix(docs): Update docs/picture.md

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-08 20:21:15 +08:00
Fatpandac 7bcb65ea25
fix(route): change iresearch's API URL and refactor to V2 (#9019)
* Fix(route): change iresearch's API URL and refactor to V2

* Fix(route): add tryGet and timezone
2022-02-08 20:20:54 +08:00
iceqing 2f7c282d3c
feat(route): 增加polkaworld的rsshub规则(v2版本scripts) (#9015)
* feat: 增加polkaworld的rsshub规则

* feat: 增加polkaworld的rsshub规则-切换为v2版本

* feat: 增加polkaworld的rsshub规则(修复路径问题)

* refactor: added limit support & improve date and docs for polkworld

* docs: improve docs desc for polkaworld

* refactor: improve docs & clean date code for polkaworld

* docs: improve docs for polkaworld

* fix: 修复日期解析错误

* fix: fix date error from Vercel's output

* feat: 增加时区操作

* style: remove blank line

* fix: fix timezone error
2022-02-08 19:22:26 +08:00
Ethan Shen dbb1c0b02d
fix(route): JAVLibrary (#8956)
* fix(route): JAVLibrary

* fix: sort in alphabetical order
2022-02-07 23:45:58 -10:00
zytomorrow 40c06ff977
refactor: 微博个人时间线接入util (#7827)
* refactor: 微博个人时间线接入util,支持可读性优化,同时打开emoji表情展示

* Update lib/routes/weibo/timeline.js

Co-authored-by: SettingDust <settingdust@gmail.com>

* Update lib/routes/weibo/timeline.js

Co-authored-by: SettingDust <settingdust@gmail.com>

* Update lib/routes/weibo/timeline.js

Co-authored-by: SettingDust <settingdust@gmail.com>

* Update lib/routes/weibo/timeline.js

Co-authored-by: SettingDust <settingdust@gmail.com>

* Revert "style: auto format"

This reverts commit cb9dde42fa57de8d93c6eafd14bf344589e7c025.

* revert: lib/route/weibo/timeline.js

* revert

* Merge branch 'master' of https://github.com/DIYgod/RSSHub into weibo_home_timeline_refactor

* Merge branch 'master' of https://github.com/DIYgod/RSSHub into weibo_home_timeline_refactor

* refactor:  using optional chaining

* fix: using optional chaining

* fix: use parseDate()

* fix:  use cache.tryGet() instead of cache.set/cache.get

* fix:  use cache.tryGet() instead of cache.set/cache.get and use parseDate()

* fix:  use cache.tryGet() instead of cache.set/cache.get and use parseDate()

* fix:  use cache.tryGet() instead of cache.set/cache.get

Co-authored-by: SettingDust <settingdust@gmail.com>
2022-02-07 22:55:42 +08:00
Ethan Shen 839d3eafa5
feat(route): add 国家高端智库 / 综合开发研究院 (#9012) 2022-02-07 22:21:59 +08:00
Ethan Shen fdf137b53b
feat(route): add 全国港澳研究会 (#9011) 2022-02-07 21:24:41 +08:00
周财发 13883cafa9
fix(route): fix dxy; feat(route): add sh-wsjkw (#8922)
* fix(route)(dxy)

* add(route):上海卫健委疫情通报

* U 使用https获取上海疫情通报数据
U 移动上海疫情通报至gov

* U 删除多余router.js文件
U 移动上海疫情通报radar信息到上级radar中
U 修复doc中疫情通报地址错误的问题

* U 调整备注

* A 新增 pubDate

* U 和并radar中的上海市人民政府项目,合并doc中上海市人民政府项目

* U 时间标准化

* U 调整发布时间格式化

Co-authored-by: Zhou Caifa <caifa.zhou@naiveblue.com>

fix #9010
2022-02-07 07:12:45 +08:00
Fatpandac ae152bdde4
fix(route): fix cntv cannot read property 'docs' of undefined and refactor to V2 (#9005)
* Fix(route): Cannot read property 'docs' of undefined and change to V2

* Fix(route): change property path of limit

* Fix(route): add parseInt()

* Fix(route): fix DeepScan issue
2022-02-06 19:54:40 +08:00
Fatpandac e436c5d270
fix(route): fix youku/channel route is empty and refactor to V2 (#9002)
* Fix(route): fix route is empty and change to V2

* Fix(route): change HTTP to HTTPS
2022-02-06 19:33:32 +08:00
Fatpandac 3f04a89e48
fix(route): change github/comments title format to '[author] commented' (#9006) 2022-02-06 19:18:26 +08:00
Ethan Shen 76ee6de426
fix(route): 游戏打折情报 (#9004) 2022-02-06 19:11:33 +08:00
Ethan Shen 57ec52bfa7
fix(route): 联合早报 (#9001) 2022-02-06 19:00:32 +08:00
Ethan Shen ecbd064dbf
feat(route): add BioOne (#8994)
* feat(route): add BioOne

* fix typo

* fix typo
2022-02-06 18:59:07 +08:00
Chih-Hsuan Yen d08f662103
fix(route): fixes "this route is empty" for copymanga (#8960)
* fix(route): fixes "this route is empty" for copymanga

This fix mirrors manhuagui logic updated in [1] - returns all items
when chapterCnt is 0 or not specified.

[1] https://github.com/DIYgod/RSSHub/pull/8670

* Add myself to `author` in docs/

This helps refactoring routes to v2. See
https://github.com/DIYgod/RSSHub/pull/8960#issuecomment-1030617999

* Add more authors

Ref: #8670

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-06 02:18:54 +08:00
Tony 5326d9f751
chore(misc): multiple enhancement to github actions (#9000)
* chore: test workflow use redis

* chore: docker build cache sharing

* chore: eslint format yml files

* chore: nodemon restart on art template files changes

* chore: run test on multi node and os

* chore: unnecessary single version matrix build

* chore: fix container operations

Container operations are only supported on Linux runners

* chore: fix gha syntax

* chore: fix node version not show up

* revert: "chore: test workflow use redis"

This reverts commit df818fd697b4c9151ac635cdb5918e03a4b37062.

* revert: "chore: fix container operations"

This reverts commit c949368aa7048b9d0f3f1942501c695f10f07f06.

* revert: "chore: run test on multi node and os"

This reverts commit 6b1cfde579095e73d0314346fb1a2d12d0de00ac.

* chore: run test on multi node version
2022-02-06 01:36:14 +08:00
Fatpandac 97429ad016
fix(route): fix ccreports route is empty and refactor to V2 (#8990)
* Fix(route): fix route is empty and change to V2

* Fix(route): route address err in maintainer.js

* Fix(route): change way to get pubDate

* Fix(route): add timezone
2022-02-05 20:45:19 +08:00
Rongrong a9a8b2a350
fix(route): App Center Release (#8991)
improper caching

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-02-05 18:52:36 +08:00
HΛИG 8666d77953
fix(route): 蓝桥云课新增课程排序规则并修复多个错误 (#8986)
* 新增:蓝桥云课作者发布的课程

* 新增:蓝桥云课最新发布的课程

* 修复:新增 pubDate 避免某些 RSS 解析服务失败

* 新增:社区技术问题

* 修复:过滤置顶的帖子

* 新增:社区问答支持主题 ID

* 修复:Route 文档错误

* 更新:优化源链接

* 优化:对 RSSHub Radar 的支持

* 新增 RSS <image> Element

* 移除 image

* fix: /lanqiao 文档路径错误

* 优化:蓝桥云课新增课程排序规则

* 修复:蓝桥云课课程发布日期字段

* style: auto format

* 优化:课程标题展示课程类型

* style: auto format

* Update docs/programming.md

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

* 修复:数据源无日期已移除

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-05 18:27:00 +08:00
DA1Y1 c9e754b287
feat(route): 🚩 添加北京科技大学研究生院router (#8979)
* 🚩 添加北京科技大学研究生院router

* ♻️ 北京科技大学研究生院 refactor to V2 standard

* 🚩 fix code & change style

* 🚩 fix code & change style

* 🚩 fix code & change style

* 🚩 fix code & change style

Co-authored-by: daiyi <daiyi@mininglamp.com>
2022-02-05 00:49:52 +08:00
Yishuai Li b6b692d268 revert: "ci: release docker in source only (#8971)"
This reverts commit 596167541e.
2022-02-04 19:26:12 +08:00
Yishuai Li 596167541e
ci: release docker in source only (#8971)
* ci: release docker in source only

* condition at job level

* condition over secrets

* Apply suggestions from code review

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-04 18:55:40 +08:00
Outvi V 36b4cc5baa
feat(route): add spotify (#8966)
* feat: /spotify/playlist/:id

* feat: /spotify/artist

* feat(spotify/artist): add to radar

* feat: /spotify/saved

* feat: /spotify/top/{tracks,artists}

* feat(spotify): add images for artist and playlist

* docs: /spotify/*

* docs/en: /spotify configurations

* chore(spotify): apiKey/Secret -> clientId/Secret

* fix(spotify/utils): genres can be empty
2022-02-04 18:46:53 +08:00
TonyRL 8f33790045 fix(route): fix rsshub routes
cheerio(dom) is removed in cheerio v1.0.0-rc.9
2022-02-04 03:45:43 +08:00
GitHub Action 3c9be07be5 style: auto format 2022-02-03 13:50:41 +00:00
rainrdx 277a740557
feat(route): add Nikkei Asia (#8984)
* Nikkei Asia Fulltext Feed

* Nikkei Asia Documentation

* Fix Nikkei Asia Radar

* Fix for review comments

Co-authored-by: Rick Shang <rdx@miami.rickshang.org>
2022-02-03 21:49:03 +08:00
Rongrong 4e356e15eb
feat(route): add App Center Release (#8983)
/app-center/release/:user/:app/:distribution_group

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-02-03 21:47:52 +08:00
谢东平 Dongping Xie b8c95ddee2
feat(route): add hacker news user follow (#8976) 2022-02-03 21:30:08 +08:00
Fatpandac f03cca4844
fix(route): fix producthunt JSON.parse fail and refactor to V2 (#8972)
* Fix(route): JSON.parse fail and change to V2

* Fix(docs): Update lib/v2/producthunt/maintainer.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 20:38:16 +08:00
Fatpandac adc7b99382
fix(route): change baozimh desc selector (#8945)
* Fix(route): change desc selector

* Fix(route): change to use art-template
2022-02-03 20:35:57 +08:00
Fatpandac 329b05c36a
fix(route): epicgames change graphql request address (#8981)
* Fix(route): fix route address

* Fix(route): change request address
2022-02-03 02:23:15 +08:00
Fatpandac d72dce4056
fix(route): fix douban/explore route is empty (#8968)
* Fix(route): fix route is empty

* Fix(route): resolve merge conflicts

* Fix(route): change to use art-template
2022-02-03 01:32:44 +08:00
Tony 5d83517090 chore: fix wait-for-vercel-preview version tag 2022-02-02 08:28:22 -09:00
Fatpandac c144a1864b
feat(route): add Google Fonts and refactor /google/** to V2 (#8927)
* Add(route): add Google Fonts and change to V2

* Fix(route): added throw error when API key is underfined

* Fix(docs): add warning container

* Fix(docs): Update docs/design.md

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

* Fix(route): sort routes

* Fix(route): Update lib/v2/google/fonts.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 01:18:17 +08:00
Tony 7fce06ff04 chore: publish docker on docker-release workflow changes only 2022-02-02 07:54:17 -09:00
Tony ceb2b34e0a chore: fix pr-deploy-route-test workflow 2022-02-02 07:50:49 -09:00