Commit Graph
3614 Commits
Author SHA1 Message Date
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
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
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
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
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
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
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
Rongrong 96e3b76adb feat(route)(weibo): recognize and display Live Photo (#9440)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-01 19:01:29 +08:00
Fatpandac bb3924cac3 feat(route): npm (#9437) 2022-04-01 18:39:08 +08:00
Ethan ShenandTony 457e8f8a41 feat(route): add 湖南日报 (#9417)
* feat(route): add 湖南日报

* docs: update category

* update docs/traditional-media.md

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-01 18:02:31 +08:00
Rongrong df846c497c feat(route): add kyodonews (#9435)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-01 13:02:17 +08:00
huangliangshushengandTony c6fbc9ecf2 feat(route): add hameln (#9429)
* feat(route): add hameln

* feat(route): add hameln

* fix doc

* Update lib/v2/hameln/chapter.js

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

* add timezone

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-01 11:24:31 +08:00
Shironobako 82a556fdcd fix(route): bilibili/live 修改areaLink默认值为empty(当areaLink为空时报错) (#9424)
* 修改areaLink默认值为empty(当areaLink为空时报错)

* 修改areaLink默认值为empty(当areaLink为空时报错)
2022-04-01 00:12:46 +08:00
Rein-Ou e933a0275b fix(route): qweather/now timezone (#9431) 2022-03-31 23:06:36 +08:00
Ethan Shen d68e5a8d54 feat(route): add Quicker动作更新 (#9357)
* feat(route): add Quicker动作更新

* fix typo

* delete outdated routes

* fix: add h2 header

* fix: invalid pubDate
2022-03-31 22:32:30 +08:00
Ethan Shen d88e52ce8e feat(route): add 衡阳日报 & 衡阳晚报 (#9418)
* feat(route): add 衡阳日报 & 衡阳晚报

* docs: update category
2022-03-30 23:53:55 +08:00
github-actions[bot] f3aa4c5677 style: auto format 2022-03-30 13:46:30 +00:00
Rein-Ou bb80a2ec7c fix(route) qweather/now (#9419)
* qweather_now

* now

* pubDate fix

* timezone

* parseDate

* item link fix

* cache id fix

* time fix

* format code

* Update forecast.md
2022-03-30 21:44:23 +08:00
Ethan Shen d50e0948dc feat(route): add 虎扑首页 (#9416) 2022-03-29 22:03:13 +08:00
Rein-Ou 0a29a7c4e8 feat(route) add qweather/now (#9413)
* qweather_now

* now

* pubDate fix

* timezone

* parseDate
2022-03-29 21:29:07 +08:00
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
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