Commit Graph

3737 Commits

Author SHA1 Message Date
kdan 5622641efa
feat(route): 首席经济学家论坛 (#9550)
* add(route): 首席经济学家论坛

* fix(route) : merge from FledgeXu

* fix(route) : merge from FledgeXu

* (fix) typo

* feat(route): remove radar from radar-rules.js

* Update lib/v2/chinacef/hot.js

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

* Update lib/v2/chinacef/router.js

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

* Update lib/v2/chinacef/maintainer.js

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

* Update lib/v2/chinacef/experts.js

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

* Update lib/v2/chinacef/experts.js

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

* Update hot.js

* Update experts.js

Co-authored-by: linkai <linkai@mochasoft.com.cn>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-16 23:30:10 +08:00
Tony 658570be69
fix(route): taptap topic review (#9540)
* fix(route): taptap topic review

* fix: review url

* refactor: use utility

* docs: add back warning
2022-04-15 22:04:49 +08:00
FledgeShiu a0f067ca71
feat(route): 首席经济学家 (#9543)
* Add chinacef router.

* Update the document.

* Move to V2.

* Fix document errors and improve the code.
2022-04-15 21:07:21 +08:00
任平生 eb467afae1
fix(utils): 支持将微信公众号转载文章的正文抓取回来 (#9534)
* feat: 修正日期时间匹配规则、移除一些不必要评论元素

* fix(route)(fortunechina): 修正财富中文网1、双语文章中文内容重复问题;2、移除 kol 大头像

* fix(route)(wechat): 支持将微信公众号转载文章的正文抓取回来
2022-04-15 19:23:09 +08:00
Tony edb6e5deec
fix(route): add debug json output and cookie support (#9539)
* fix(route): add debug json output and cookie support

* Update lib/v2/qbittorrent/news.js
2022-04-14 14:19:33 -09:00
stanly0726 996b66fdf2
fix(core): issue #8162 (#9533)
* fixing issue #8162

* fixing issue #8162

* change max width value of class .debu-item

* remove duplicated css

* max width

* Update welcome.art
2022-04-14 01:16:26 +08:00
github-actions[bot] 472e0d8f19 style: auto format 2022-04-13 10:11:44 +00:00
Fatpandac 56ccda8f72
fix(route): add the title to the first article and refactor to V2 (#9532) 2022-04-13 18:09:17 +08:00
Ethan Shen 6f98d3cee6
fix(route): 果壳网科学人 (#9531)
* fix(route): 果壳网科学人

* ref: use got instead of got.get

* ref: rename channel.js
2022-04-13 17:50:11 +08:00
Fatpandac d63ece212f
fix(route): yystv change selector path, add radar and refactor to V2 (#9529)
* fix(route): change selector path, add radar and refactor to V2

* fix: use parse-date utils

* fix: use https
2022-04-13 17:23:23 +08:00
任平生 ae66123996
fix(route)(fortunechina): 修正财富中文网双语文章中文内容重复的问题 (#9526)
* feat: 修正日期时间匹配规则、移除一些不必要评论元素

* fix(route)(fortunechina): 修正财富中文网1、双语文章中文内容重复问题;2、移除 kol 大头像
2022-04-12 23:11:35 +08:00
Tony bafb3534e1
feat(utils): random user agent (#9449)
* feat(utils): random ua

* chore: bump rand-user-agent to 1.0.58(no more deps)
2022-04-12 17:51:07 +08:00
Ethan Shen 55ecc71784
feat(route): add 科学网用户博客 (#9525)
* feat(route): add 科学网用户博客

* update lib/v2/sciencenet/user.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-12 04:56:50 +01:00
Tony fb2a407b02
feat(route): qbittorrent news (#9524) 2022-04-11 23:17:09 +01:00
Ethan Shen 12760cad1d
feat(route): add 大连理工大学盘锦校区 (#9515)
* feat(route): add 大连理工大学盘锦校区

* fix typo
2022-04-11 20:33:11 +08:00
Ethan Shen 4c9b820f2e
feat(route): add 大连理工大学盘锦校区教学事务办公室 (#9509) 2022-04-11 07:33:46 +08:00
Ethan Shen a25fd4b67f
fix(utils): wrong date with same weekday in parse-date (#9506) 2022-04-10 23:40:35 +08:00
Ethan Shen 0c3888787a
feat(route): add 大连理工大学 (#8580)
* feat(route): add 大连理工大学

* add radar

* fix: add maintainer

* fix typo

* docs: fix url

* fix: incomplete multi-character sanitization
2022-04-10 23:39:24 +08:00
Odin Zhang c5741650d2
feat(route): add bookfere (#9501)
* feat(route): add bookfere

* style: auto format

* fix(route): change bookfere to v2

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-09 23:43:08 +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
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 Luo 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
NathanDai 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
zytomorrow 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
zytomorrow 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 Luo 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
zytomorrow 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 Shen 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
huangliangshusheng 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
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
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
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
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
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
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
Tony 96d392fec9
fix(route): github pull requests (#9341)
* fix(route): github pull

* fix: typo
2022-03-19 03:14:53 +08:00
Rongrong 41910802f2
feat(core): caching enhancements (#9227)
* fix(core): redis cache ignore `maxAge` when refreshing

memory cache do not have such a problem

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

* feat(core): make `cache.tryGet()` refreshing selectable

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

* docs: `ctx.cache.tryGet()` update

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-19 02:13:15 +08:00
Rongrong 933080a1f5
fix(route)(nikkei-cn): imprudent slice; selector lack; duplicated article (#9337)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-18 21:32:09 +08:00
Tony 2ed9fd5c5f
chore: bump lru-cache from 6.0.0 to 7.7.1 (#9339)
* feat(core): lru-cache v7

* chore: bump lru-cache to 7.7.1

* feat: configurable max
2022-03-18 21:08:04 +08:00
Tony ba198d09c4
fix(route): rfa missing url property (#9326)
* fix(route): rfa missing url property

* docs: add missing en h3 title

* fix: use nullish coalescing operator
2022-03-16 05:14:49 +08:00
Fatpandac 0ec2b01ec2
feat(route): add 政策研究, 工作论文 and refactor to V2 (#9324)
* feat(route): add 政策研究, 工作论文 and refactor to V2

* fix: depreciated url.resolve pubDate
2022-03-16 04:13:45 +08:00
TonyRL b93f6fe856 fix: error page bug report url 2022-03-15 15:30:25 +00:00
Ethan Shen a1a62813e2
feat(route): add 中国工人出版社新闻中心 (#7303)
* feat(route): add 中国工人出版社新闻中心

* refactor: migrate to v2

* fix: parseDate typo in router.js

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-15 23:10:32 +08:00
Rongrong 96e803fba6
fix(route): node.js 14 has no `replaceAll` (#9323)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-15 17:09:01 +08:00
Fatpandac 194a522fc8
fix(route): ixigua_user anti-crawler policy upgrade and refactor to V2 (#9314)
* fix(route): ixigua_user anti-crawler policy upgrade and refactor to V2

* fix(route): replaces '/' with itself and fix item's link
2022-03-15 03:08:14 +08:00
Fatpandac ea0022cbcf
feat(route): add 差评快讯 and refactor to V2 (#9319)
* feat(route): add 差评快讯 and refactor to V2

* fix: parseDate
2022-03-15 02:30:06 +08:00
heunghingwan 9dc20280e8
fix(route): gov/fmprc/fyrbt 修复发布日期提取 (#9317)
* 修复发布日期提取

* fix: depreciated url.resolve Invalid Date
2022-03-14 21:08:20 +08:00
Zhen Zhong 3baeb0aa8c
feat(route): add bitbucket commits and tags (#9316)
* add bitbucket commits and tags

* add english doc

* fix bitbucket radar.js

* fix bitbucket docs

* docs: add bitbucket cn docs

* fix: use parseDate utils
2022-03-14 20:57:54 +08:00
Fatpandac fddd2719a4
fix(route): flyert_preferential get fulltext (#9315)
* fix(route): flyert_preferential get fulltext

* fix(route): add timezone
2022-03-14 20:39:37 +08:00
Shao ye ee1eab23d8
fix njupt posts with url redirections (#8961)
* fix njupt posts with url redirections

skip posts that are redirected to error pages due to access control

* fix: migrate to v2

* fix: pubDate depreciated url.resolve

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-13 22:24:06 +08:00
Tony 713415093f
fix(route): eprice hk (#9312) 2022-03-13 21:36:00 +08:00
Fatpandac 43f1d1813d
fix(route): sohu_mp can not get author's link and refactor to V2 (#9311)
* fix(route): sohu_mp can not get author's link and refactor to V2

* fix: pubDate

* fix: remove unused timezone

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-13 21:11:12 +08:00
Ethan Shen 5b5e8ce1fa
fix(route): add JavBus alternative domain (#9310) 2022-03-13 20:51:26 +08:00
junfengP 4d6cd98fc9
fix(route): reverse is not a function (#9309)
很久以前这个路由是正常的,现在报错 $().reverse is not a function
推测是cheerio包的返回类型变了
2022-03-12 17:52:44 +08:00
Jigsaw 01146e3e6f
feat(route): add bilibili online list (#9308)
* feat(route): add bilibili online list

* fix(route): bilibili online list

* fix(route): bilibili online list

* refactor: migrate to v2
2022-03-12 17:09:28 +08:00
Tony bf9be2fa3d
feat(route): add gitpod (#9306)
feat(route): gitpod
2022-03-12 04:52:04 +08:00
Fatpandac e50dc7058e
fix(route): sina responsed 403 (#9304)
* fix(route): sina responsed 403

* fix: use parseDate

fix: promise overhead
2022-03-11 22:32:06 +08:00
swwind 727f17a15f
fix(route): 哈尔滨工业大学(威海)通知公告 (#9303)
* fix(route): 哈尔滨工业大学(威海)通知公告

* fix css selector

* fix: use parseDate
2022-03-11 22:23:56 +08:00
Tony 233f1c8152
refactor: config.js (#9305)
* refactor: reorder lib/config.js

* docs: reorder config
2022-03-11 22:12:42 +08:00
Fatpandac c61bfa04b1
feat(route): add 木木博客 (#9302) 2022-03-11 22:09:27 +08:00
jiechus 1121f8c0a0
fix(route): 添加若干路由的图标 (#9301)
* cover

* add bilibili dynamic image

* fix bilibili dynamic

* fix bilibili dynamic x2

* style: auto format

* add afdian image

* style: auto format

* fix git

* style: auto format

* add zhihu activities image

* optimize zhihu activities title

* optimize TG channel title

* style: auto format

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* FIX betterTitle

* FIX betterTitle x2

* FIX betterTitle x3

* FIX betterTitle x4

* FIX betterTitle x5

* Optimize betterTitle preprocessed HTML tags

* FIX regular

* add IThome image

* Update channel.js

* Excluded Content

* Excluded Content

* 解决 DeepScan

* 解决 DeepScan

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-11 19:39:23 +08:00
vcup 65f6086bc8
fix(route): touhougarakuta (#9297)
* Fixes DIYgod/RSSHub#9271

* Sovel DeepScan reported issues

* fix logic issue

Co-authored-by: vcup <vcup@gmail.com>
2022-03-11 19:21:55 +08:00
Ethan Shen b7df26724e
feat(route): add Foresight News article (#9295) 2022-03-11 00:50:57 +08:00
Ethan Shen 3965da8765
feat(route): add Sputnik News (#9294) 2022-03-11 00:17:13 +08:00
Rongrong 3364b7eb1d
fix(route): migrate invalid `enclosure_length` usages to `itunes_duration` (#9291)
Close #9287

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-10 20:54:29 +08:00
Fatpandac b86fd05d5a
feat(route): add 新唐人電視台 (#9292)
* feat(route): add 新唐人電視台

* Update docs/traditional-media.md

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

* Update lib/v2/ntdtv/channel.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-10 20:02:09 +08:00
Ethan Shen 0a53418b93
feat: add google sites recent changes (#7246)
* feat: add google sites recent changes

* fix pubDate

* fix: wrong date format
2022-03-10 19:46:56 +08:00
Fatpandac 073df65935
feat(route): add 希望之声 (#9285)
* feat(route): add 希望之声

* fix(route): change timezone
2022-03-10 02:26:54 +08:00
Ethan Shen ce511b5b17
feat(route): add 俄罗斯卫星通讯社 (#9272)
* feat(route): add 俄罗斯卫星通讯社

* fix: add radar
2022-03-09 19:59:40 +11:00
Ethan Shen e6549c9011
feat(route): add Foresight News (#9274) 2022-03-08 17:29:14 -02:00
Fatpandac 7e3bdc45fc
fix(route): segmentfault return empty and refactor to V2 (#9270)
* fix(route): return empty and refactor to V2

* docs: update segmentfault user example
2022-03-08 22:01:44 +08:00
Ethan Shen b808cdb78f
feat(route): add 35PHOTO (#9267) 2022-03-08 21:55:40 +08:00
Ethan Shen 2f01aa6819
feat(route): add BigQuant专题报告 (#9253) 2022-03-08 21:52:16 +08:00
liuxsdev 007948efcd
feat(route): 生态环境部-要闻动态 (#9248)
* feat(route): 生态环境部-要闻动态
2022-03-08 21:49:30 +08:00
Nite07 f5960cc285
feat(route): add dayanzai (#8950)
* Add(route): add dayanzai

* 添加获取全文参数

* Update docs/bbs.md

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

* fix: string literals

Co-authored-by: Nite07 <nmy1207@outlook.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-08 21:36:20 +08:00
Fatpandac 840494ab63
fix(route): wechat/tgchannel content text format error (#9095)
* fix(route): wechat/tgchannel content text format error

* fix(route): remove mess code

* fix(route): fix css style
2022-03-07 19:21:16 +08:00
railzy d1173f34ac
fix(route): 最终幻想 14 国际服 Lodestone 内容api调用格式更新 (#9260)
* fix(route): 最终幻想 14 国际服 Lodestone 内容api调用格式更新

* ff14 国际服 lodestone api 使用 https

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-07 18:19:14 +08:00
Rongrong 991a6a1f24
fix(route)(fdroid/apprelease): invalid feed title (#9259)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-07 16:10:31 +08:00
Black_Yuzia ed5ceb6f6e
fix(route): nhentai Images host (#9257)
fix(route): nhentai Images host
2022-03-07 15:51:55 +08:00
Tony 2c2bf4ed09
fix: typo in puppeteer options 2022-03-06 23:42:32 +08:00
Tony 0afddfaaac
revert: "fix(route): ielts window.$ is not a function (#9255)" (#9256)
This reverts commit 0b4ea2ee67.
2022-03-06 23:29:53 +08:00
Tony 0b4ea2ee67
fix(route): ielts window.$ is not a function (#9255) 2022-03-06 22:31:52 +08:00
Black_Yuzia fbcba24a9f
fix(route): hentaimama Image Parsing (#9252) 2022-03-06 20:52:48 +08:00
Rongrong 7edb450ca9
fix(route)(app-center/release): improper linebreak (#9250)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-06 20:48:56 +08:00
LyleLee ba9891f578
feat(route): 美国白宫科学技术政策办公室 US Whitehouse Office Of Science And… (#9246)
* Add whitehouse/ostp 美国白宫科学技术政策办公室 US Whitehouse Office Of Science And Technology Policy

* Add whitehouse OSTP, update english docs
2022-03-06 20:11:34 +08:00