Commit Graph
7214 Commits
Author SHA1 Message Date
Tony 3b00a07c2a chore: skip docker build on maintainer / radar update
[skip ci]
2022-04-09 19:26:28 +08:00
Fatpandac ef8e2e187a fix(radar): fix docs URL (#9504) 2022-04-09 19:06:49 +08:00
Jigsaw 69210f7cad fix(route)(twreporter): title,author,pubDate (#9502)
* fix(route): twreporter title,author,pubDate

* refactor: migrate to v2

* fix: missing maintainer
2022-04-09 19:06:03 +08:00
Fatpandac 928b089cc8 feat(route): add 逛丢 (#9503)
* feat(route): add 逛丢

* fix(route): fix path
2022-04-09 14:18:49 +08:00
TonyRL be8b5d143f docs: fix H3 heading 2022-04-08 16:27:39 +00:00
Rongrong 2dab2ad5bc fix(route)(wechat/ce): anti-crawler and pubDate (#9495)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-09 00:00:02 +08:00
Chenxing LuoandTony ef94bcde8e feat(route): add two blogs: Stratechery & Miris Whispers (#9496)
* Add two blogs

* fix(utils): add parseDate timezone common-config

* Update lib/v2/stratechery/index.js

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

* Update docs/blog.md

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

* Update docs/en/blog.md

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

* Update lib/v2/miris/blog.js
2022-04-08 23:48:28 +08:00
NathanDaiandTony 6996efd070 fix(route):雪球 基金净值数据来源调整为蛋卷基金 (#9489)
* 雪球基金净值更新调整为蛋卷基金

* Update docs/finance.md

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

* Update docs/finance.md

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

* refactor: migrate to v2

* fix: parseDate

* fix: fund unnecessary String()

* feat: add radar

* fix: stock comments template

* style: add a linebreak

* docs: fund example path
2022-04-08 23:38:33 +08:00
TonyRL d09693c9b7 docs: wechat-feeds warning 2022-04-08 11:32:34 +00:00
Rongrong 74e1f88a32 feat(core)(utils/wechat-mp): normalize URL (#9497)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-08 18:42:52 +08:00
Rongrong eb9026e470 fix(route)(wechat/ershicimi): outdated URL (#9494)
* fix(route)(wechat/ershicimi): outdated URL

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

* fix: pubDate
2022-04-08 18:08:48 +08:00
Tony c49b558e3e fix(route): RSSHub sponsors title and description (#9500) 2022-04-08 17:31:55 +08:00
DIYgod 8ec1046343 docs: add sponsor 2022-04-08 08:10:11 +01:00
dependabot[bot] 2d5a4e03e4 chore(deps): bump @sentry/node from 6.19.4 to 6.19.6 (#9493)
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 6.19.4 to 6.19.6.
- [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.4...6.19.6)

---
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-08 06:39:23 +08:00
dependabot[bot] aade7a8222 chore(deps): bump lru-cache from 7.7.3 to 7.8.0 (#9491)
Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 7.7.3 to 7.8.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.7.3...v7.8.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-04-08 06:13:36 +08:00
Tony f97cdb291c fix: lack of config error url (#9490) 2022-04-07 22:34:33 +08:00
Rongrong a79cc20ec1 feat(utils): add utils for WeChat MP (#9487)
Motivation:
There are multiple routes that need to fetch articles from WeChat MP.
However, letting them fetch articles by themselves could potentially
lead to cache key collisions. Even if cache key collisions do not occur,
un-normalized URL could potentially lead to duplicated requests.
What's more, articles from WeChat MP have weird formats and need to be
fixed. Creating a universal function to do this work can create some
ease for new route contributors.

Note:
In order to make this PR atomic as much as possible, I did not touch
those broken routes. Once this PR is merged, I will try to fix them.

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-07 21:46:15 +08:00
Rongrong e0b7ca676d fix(route)(twitter)(web API): retweet un-extracted (#9488)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-07 20:38:54 +08:00
zytomorrowandGitHub Action e7558e88b1 fix(route): sichuan/deyang 政府公开信息 (#9480)
* fead: add 雪球股票评论

* style: auto format

* fix: 修复雪球评论转发时未带原文

* refactor: 微博个人时间线接入util,支持可读性优化,同时打开emoji表情展示

* route: 雪球评论标题长度自定义

* style: auto format

* fix: 风之动漫域名更换

* fix: 风之漫画新域名适配

* refactor: 微博个人时间线接入util,支持可读性优化,同时打开emoji表情展示

* fix: 雪球股票评论格式调整

* fix: 风之动漫域名更换

* fix: 风之动漫link修复

* fix: 雪球股票评论正文使用art模板,日期解析调整

* feat(route): add 德阳考试中心

* feat(route): add 德阳考试中心

* fix: 风之动漫获取数量去掉限制

* fix: 风之动漫获取数量去掉限制

* fix: 风之动漫获取数量使用通用参数控制

* fix: 风之动漫获取数量使用通用参数控制

* style: auto format

* fix: dykszx

* fix: 德阳考试中心 ssl证书过期

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

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

* tmp1

* tmp2:

* tmp3

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* Revert "feat(route):  add 政府公开信息"

This reverts commit c9d59af9e09b14f7357014382037b7f378d65ea7.

* feat(route):  add 政府公开信息

* fix: 修复德阳政府公开信息

* fix: 修复德阳政府公开信息

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

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

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

* fix: 修复德阳政府公开信息

* fix: 修复德阳政府公开信息

* fix: 修复德阳政府公开信息

* fix(route): add ipv6 support

* fix(route): add ipv6 support

Co-authored-by: GitHub Action <action@github.com>
2022-04-07 18:00:06 +08:00
github-actions[bot] 1261a74eec style: auto format 2022-04-06 15:32:46 +00:00
zytomorrowandTony d7b7a01ca1 feat(route): add gaze.run update notify (#9482)
* feat(route): add gaze.run update notify

* feat(route): add gaze.run update notify

* Update docs/multimedia.md

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

* Update lib/v2/gaze/radar.js

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

* Update lib/v2/gaze/templates/update.art

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

* Update lib/v2/gaze/update.js

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

* Update lib/v2/gaze/update.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-06 23:30:58 +08:00
dependabot[bot] 77776d6802 chore(deps): bump winston from 3.7.1 to 3.7.2 (#9477)
Bumps [winston](https://github.com/winstonjs/winston) from 3.7.1 to 3.7.2.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/commits)

---
updated-dependencies:
- dependency-name: winston
  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-05 23:31:22 -05:00
dependabot[bot] 49ad44ccbe chore(deps): bump @sentry/node from 6.19.3 to 6.19.4 (#9476)
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 6.19.3 to 6.19.4.
- [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.3...6.19.4)

---
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-05 23:08:51 -05:00
Rongrong 1336159956 chore(deps): remove @types/got, @types/cheerio (#9479)
* chore(deps): remove @types/got

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

* chore(deps): remove @types/cheerio

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:52:15 -07:00
dependabot[bot] ca5af864cc chore(deps): bump codecov/codecov-action from 2.1.0 to 3 (#9478)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-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-05 20:27:36 -07:00
Rongrong e9a51c0d35 fix(route)(weibo/timeline): improper caching usage (#9474)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:26:02 -07:00
Rongrong ee8ad5b7fa feat(route)(twitter): API fallback (#9475)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-06 05:11:09 +08:00
Tony 5ee16451dc fix(route): github recent issues (#9473) 2022-04-05 23:38:18 +08:00
Tony 521862793e feat(route)!: remove wechat/csm wechat/wjdn (#9472) 2022-04-05 22:13:24 +08:00
Rongrong 79d9192469 fix(route)(twitter): outdated web API (#9471)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:22:18 +08:00
Rongrong 26fbfbfa8e feat(route): add 公众号 360 (#9457)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:05:45 +08:00
Rongrong d887fd755a fix(route)(weibo): icon replacement regex (#9470)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-04 23:54:30 -07:00
dependabot[bot] ae5c8b3dff chore(deps-dev): bump prettier from 2.6.1 to 2.6.2 (#9468)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
- [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.1...2.6.2)

---
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-04-05 06:18:03 +08:00
dependabot[bot] 5be48280da chore(deps): bump winston from 3.6.0 to 3.7.1 (#9467)
Bumps [winston](https://github.com/winstonjs/winston) from 3.6.0 to 3.7.1.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.6.0...v3.7.1)

---
updated-dependencies:
- dependency-name: winston
  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-05 05:54:36 +08:00
Tony f11b5758d7 fix(route): gamer gnn news (#9465) 2022-04-05 02:02:49 +08:00
任平生 6835353052 fix(route)(fortunechina): 修正财富中文网日期时间匹配规则、移除一些不必要评论元素 (#9464) 2022-04-04 23:26:36 +08:00
Rongrong 32fe3aeb65 feat(route)(kyodonews): icon, main pic, updated date (#9459)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-04 22:43:59 +08:00
Rongrong 7399d17591 fix(route)(weibo): misc icons break some readers (#9458)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-04 22:38:52 +08:00
github-actions[bot] 62c33292f9 style: auto format 2022-04-04 14:33:33 +00:00
Chenxing LuoandTony b17eaf9848 feat(route): 增加了六个美国博物馆的展讯 (#9451)
* Add New York Museums with working code

* Add Guggenheim and fix Jewish Museum

* Add pubDate for Gugg and Met Exhibitions

* Update docs

* Add New Museum and MCA Chicago, update document

* Fix en route

* Add and update radar.js

* Add Brooklyn Museum

* Reformat code

* Update route and travel information

* Fix `http` -> `https` for `radar.js`

* Change some link quotations mark

* Using `parseDate` provided by the project

* Removing "insecureHTTPParser"

* Fix JewishMuseum issue

* Use regex instead of node's vm

* Update lib/v2/jewishmuseum/exhibitions.js

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

* Update lib/v2/guggenheim/exhibitions.js

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

* Update docs/en/travel.md

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

* Update docs/travel.md

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-04 22:31:48 +08:00
Rongrong 19608abd31 docs: invalid <p> for route params (#9455)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-04 20:43:45 +08:00
provefar cf8cb29a14 docs: 修正冗余表述 (#9456)
API 的 `I` 就是 Interface/接口的意思, 不必再说`API 接口了`
2022-04-04 20:26:46 +08:00
Chenxing LuoandTony 5012e71c87 docs: 格式化文档 (#9450)
* Format doc

* Update api.md

* Add <code> tag for <route> and fix English documentation

* Update docs/parameter.md

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

* Update docs/parameter.md

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-04 20:21:24 +08:00
Tony 300af73187 chore: auto update docker hub description (#9454) 2022-04-04 00:05:43 +08:00
zytomorrowandGitHub Action 476b3934bc fix(route): sichuan/deyang 政府公开信息 (#9453)
* fead: add 雪球股票评论

* style: auto format

* fix: 修复雪球评论转发时未带原文

* refactor: 微博个人时间线接入util,支持可读性优化,同时打开emoji表情展示

* route: 雪球评论标题长度自定义

* style: auto format

* fix: 风之动漫域名更换

* fix: 风之漫画新域名适配

* refactor: 微博个人时间线接入util,支持可读性优化,同时打开emoji表情展示

* fix: 雪球股票评论格式调整

* fix: 风之动漫域名更换

* fix: 风之动漫link修复

* fix: 雪球股票评论正文使用art模板,日期解析调整

* feat(route): add 德阳考试中心

* feat(route): add 德阳考试中心

* fix: 风之动漫获取数量去掉限制

* fix: 风之动漫获取数量去掉限制

* fix: 风之动漫获取数量使用通用参数控制

* fix: 风之动漫获取数量使用通用参数控制

* style: auto format

* fix: dykszx

* fix: 德阳考试中心 ssl证书过期

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

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

* tmp1

* tmp2:

* tmp3

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* Revert "feat(route):  add 政府公开信息"

This reverts commit c9d59af9e09b14f7357014382037b7f378d65ea7.

* feat(route):  add 政府公开信息

* fix: 修复德阳政府公开信息

* fix: 修复德阳政府公开信息

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

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

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

* fix: 修复德阳政府公开信息

Co-authored-by: GitHub Action <action@github.com>
2022-04-03 22:52:45 +08:00
github-actions[bot] 5b7b2f449a style: auto format 2022-04-02 15:41:31 +00:00
SmarT 577541f210 feat(route): add 时光网 (#9443)
* Create 1.txt

* Add files via upload

* Delete lib/v2/mtime directory

* Add files via upload

* Update multimedia.md

* Update multimedia.md

* Update and rename lib/v2/mtime/news.js to 自由/版本 2/mtime/news.js

* Delete news.js

* Add files via upload

* Update multimedia.md

* Update news.js

* Update news.js

* Update news.js

* Update news.js

* Update radar.js

* Update radar.js

* Update radar.js

* Update news.js

* Update news.js

* Update news.js
2022-04-02 08:39:50 -07:00
Rongrong 5b35471e39 fix(core): offending RFC4287 (#9441)
* fix(core): offending RFC4287

should not leave `<updated>` blank when `<published>` is not blank
these two fields MUST conform to the "date-time" production in RFC3339

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

* test(common-utils): complete tests

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

* test(template): restrict expected value of `pubDate`

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-02 17:44:45 +08:00
Rongrong 63b3b044cd fix(route)(weibo/user): outdated API method (#9446)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-02 17:20:19 +08:00
Rein-Ou 92997224aa fix(route): qweather/now measure fixed (#9448)
* time display fix

* measure fix
2022-04-02 16:42:15 +08:00