Commit Graph

406 Commits

Author SHA1 Message Date
Henry Wang 1a547caf3b
feat(route): 更新少数派全文支持 (#9653)
* feat: 少数派首页全文输出

* feat: 少数派全路由全文

* feat: 少数派专栏全文

* refactor: migrate to v2

* fix: cache key
2022-05-01 17:34:45 +08:00
Rongrong c4ca3e4ee9
feat(route): add ally/rail (#9660)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 23:15:12 +08:00
Ethan Shen 4e65978b0c
feat(route): add C114通信网滚动新闻 (#9651)
feat(route): add C114通信网滚动新闻
2022-04-29 01:12:31 +01:00
github-actions[bot] 912fef7d8d style: auto format 2022-04-22 11:43:21 +00:00
yuxinliu-alex bf156eb324
feat(route): 投中网 (#9593)
Co-authored-by: yuxinliu <yuxin2@mgtv.com>
2022-04-22 19:41:23 +08:00
Fatpandac fa3428f8fc
fix(route): dx2025/category policy-achievement is failure and refactor to V2 (#9592) 2022-04-22 19:28:15 +08:00
github-actions[bot] f81bbc907a style: auto format 2022-04-21 15:20:20 +00:00
x2009again 42dfd5cc81
feat(route): 增加微语简报源 (#9577)
* 添加微语简报源

* 精简列表描述

* 优化微语简报排版,增加文档说明

* 修复部分序号错误问题

* 增加v2版微语简报源

* 时区修改

* 删除微语简报旧路由

* 按建议修改

* 修改微语简报网址
2022-04-21 23:18:35 +08:00
任平生 9d9926d0bf
fix(utils): 修复抓取微信已删除文章时遇到的报错 (#9589)
* fix(utils): 支持微信公众号单图片文章抓取

* fix(utils): 支持输出微信公众号转载文章阅读原文链接

* fix(utils): 修复抓取微信已删除文章时遇到的报错

* refactor: migrate to v2

Co-authored-by: blankyu(于海洋) <blankyu@tencent.com>
2022-04-21 21:40:16 +08:00
github-actions[bot] a8f8ce443d style: auto format 2022-04-21 11:01:38 +00:00
yuxinliu-alex 04206ca5b1
feat(route): 封面新闻 (#9587)
* feat(route): 封面

* Update docs/new-media.md

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

* Update lib/v2/thecover/radar.js

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

* Update lib/v2/thecover/radar.js

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

Co-authored-by: yuxinliu <yuxin2@mgtv.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-21 18:59:58 +08:00
Rongrong cc48b48bc8
feat(route): add wechat/data258 (#9571)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-20 21:43:34 +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
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
TonyRL d09693c9b7 docs: wechat-feeds warning 2022-04-08 11:32:34 +00: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
Tony 521862793e
feat(route)!: remove wechat/csm wechat/wjdn (#9472) 2022-04-05 22:13:24 +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
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 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
github-actions[bot] ae9042859f style: auto format 2022-03-17 12:55:09 +00:00
Jigsaw fc42431869
docs: update modian zhongchou categories (#9333)
docs: update modian zhongchou categories
2022-03-17 20:52:55 +08: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
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
Fatpandac c61bfa04b1
feat(route): add 木木博客 (#9302) 2022-03-11 22:09:27 +08:00
Ethan Shen b7df26724e
feat(route): add Foresight News article (#9295) 2022-03-11 00:50:57 +08:00
Ethan Shen e6549c9011
feat(route): add Foresight News (#9274) 2022-03-08 17:29:14 -02:00
StevenRCE0 6a4b939509
feat(route): 机核网添加分类标签和标签路由 (#9239)
* Gcores tagging

* Gcore tags

* Comfort v2

* Update router

* Update router.js

* refactor: use cache.tryGet
2022-03-06 20:06:37 +08:00
Fatpandac 25ea6fe393
feat(route): add 白话区块链 (#9234)
* feat(route): add 白话区块链

* Update lib/v2/hellobtc/information.js

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

* Update lib/v2/hellobtc/news.js

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

* Update lib/v2/hellobtc/information.js

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

* Update lib/v2/hellobtc/kepu.js

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

* Update lib/v2/hellobtc/topic.js

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

* Update lib/v2/hellobtc/topic.js

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

* fix(route): add timezone

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-03 19:50:28 +08:00
Tony 59ec14caf8
docs: fix wikinews 2022-03-01 17:29:41 +04:00
KotoriK e7295b3014
feat(route): wikinews (#9212)
* feat(route): wikinews

* docs: 补充说明

* fix

* update radar

* fix: use parseDate

* build: rebuild yarn.lock after adding new package
2022-02-28 21:11:39 +08:00
Fatpandac a48ec3cd82
fix(route): readhub add abstract (#9207)
* fix(route): add abstract

* fix(route): add an optional parameter to control show fulltext or overview
2022-02-28 20:44:10 +08:00
Fatpandac c4c6b3cf83
feat(route): add LVV2 (#9200)
* feat(route): add LVV2

* fix(route): add timezone and remove title encoded in link

* fix(route): fix regex
2022-02-26 08:28:36 +08:00
linbuxiao c9f1ed41f7
feat(router): dahecube 大河财立方 (#8280)
* feat(router): dahecube

* fix: radar.js

* fix(radar): docs url

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-25 10:25:10 +08:00
Hivol 8537de593a
feat(route): add NL Times (#8127)
* feat(route): add NL Times

* refactor: migrate to v2

* fix: tryGet cache

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-24 01:37:09 +08:00
Ethan Shen 7445cee887
feat(route): add KBS news (#8121)
* feat(route): add KBS news

* fix docs

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-24 00:45:00 +08:00
Ethan Shen 8aa3b1ca15
fix(route): Readhub (#8029)
* fix(route): Readhub

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 23:02:17 +08:00
Ethan Shen 2389eb212d
fix(route): 36kr资讯 (#8024)
* fix(route): 36kr资讯

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 22:41:47 +08:00
Ethan Shen 171ee3b006
fix(route): World Health Organization Newsroom (#8012)
* fix(route): World Health Organization Newsroom

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 21:55:13 +08:00
github-actions[bot] 7552e5d331 style: auto format 2022-02-23 12:35:50 +00:00
Rongrong 7bffa64e48
feat(route)(wechat/tgchannel): efb-patch-middleware format support; using search to filter mpName (#9183)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-02-23 20:34:11 +08:00
Ethan Shen 1cd363ef42
feat(route): add 隆众资讯 (#7992)
* feat(route): add 隆众资讯

* fix timezone

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 01:23:59 +08:00
github-actions[bot] c2d3df2d5f style: auto format 2022-02-22 16:04:55 +00:00
Ethan Shen ea304a361b
feat(route): add 华人头条 (#7936)
* feat(route): add 华人头条

* fix: add timezone

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 00:03:01 +08:00
Kasper f51bfaeb0c
feat(route): add nogizaka46 blog (#9161)
* feat: add nogizaka46 blog

* perf: use parseDate()

* perf: specify guid
2022-02-21 21:53:34 +08:00
github-actions[bot] 9a541a6d5d style: auto format 2022-02-20 15:40:56 +00:00
Ethan Shen c1cbcc139c
feat(route): add 中国收入分配研究院 (#7453)
* feat(route): add 中国收入分配研究院

* fix typo

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-20 23:39:11 +08:00
Fatpandac 2f0e3ada69
feat(route): add 腾讯研究院 (#9159)
* feat(route): add 腾讯研究院

* Update lib/v2/tisi/index.js

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

* Update lib/v2/tisi/radar.js

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

* fix(route): change radar docs link

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-20 22:57:32 +08:00
Ethan Shen 77dd3c130e
feat(route): EU Disinfo Lab publications (#7294)
* feat(route): EU Disinfo Lab publications

* fix typo

* fix lazyload images

* refactor: migirate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-19 18:52:20 +08:00
github-actions[bot] d1873d5b94 style: auto format 2022-02-19 08:59:39 +00:00