Commit Graph

1870 Commits

Author SHA1 Message Date
Fatpandac
cff988ad9f feat(route): add Eagle's blog and refactor to V2 (#9546)
* feat(route): add Eagle's blog and refactor to V2

* fix: remove deprecated eagle radar rules

* fix: changelog date and guid

* fix(route): add language option
2022-04-17 21:24:17 +08:00
Levi Zim
958be6266e feat(route): 山东大学(威海)新闻网 (#9537)
* feat(sduwh): add extractors.

* feat(route): add route for 山东大学(威海)新闻网

* docs: for route sduwh/news

* docs: for route sduwh/news

(cherry picked from commit 831830167a)

* feat(radar): for route 山东大学(威海)新闻网

* refactor: change `got.get` to `got`.

* refactor: prefer `parseDate()` to `new Date()`

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

* fix: incomplete URL substring sanitization.

Make CodeQL happy.

* fix(radar): fix target field.

* fix: change route /sduwh to /sdu/wh

* fix: remove superfluous slash character in url.

* feat: look for exact date first.

* feat: extract exact date from news extractor.

* feat: extract exact date from view extractor.

* feat: extractor for www.sdrj.sdu.edu.cn

* refactor: semantic separation of sduwh with sdu

* feat(radar): more accurate name

* docs: update documentation

* refactor: migrate to v2

* refactor: fix deprecated url.resolve

* fix: update docs url

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

* fix: sdu not working routes

* fix: accurate `ctx.state.data.url`

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

* fix: better error handling for extractors.

* fix: timezone

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

* fix: better error handling.

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-17 00:01:39 +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
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
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
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
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
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
Tony
f11b5758d7 fix(route): gamer gnn news (#9465) 2022-04-05 02:02:49 +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
d50e0948dc feat(route): add 虎扑首页 (#9416) 2022-03-29 22:03:13 +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
忧郁的紫色毛衣男孩
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
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
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
6ba0cb246e fix(route): dbmv category not working (#9366) 2022-03-23 22:34:35 +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
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
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
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
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
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
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
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
liuxsdev
007948efcd feat(route): 生态环境部-要闻动态 (#9248)
* feat(route): 生态环境部-要闻动态
2022-03-08 21:49:30 +08: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
3b53c4430e feat(route): add 工业和信息化部 (#9221)
* feat(route): add 工业和信息化部

* fix(route): change route path, docs and refactor to V2
2022-03-05 23:22:46 +08:00
Rongrong
44f1ea3718 feat(route)(picuki/profile): migrate to v2, fetch stories (#9216)
* refactor(route)(picuki/profile): migrate to v2

other changes:
fix linebreak
fix header
add location
`displayVideo` param defaults to enable

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

* refactor(route)(picuki/profile): use template

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

* feat(route)(picuki/profile): fetch stories

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-02 22:26:21 +08:00
Ethan Shen
ef2e78f546 fix(route): MM范 (#8701)
* fix(route): MM范

* fix: add radar

* fix: use art-template
2022-02-26 23:56:20 +08:00
Jinkin
1fe6abfb87 feat(route): 牛客网面经 (#9199)
* 增加牛客网面经,测试完成

* 修改描述
2022-02-26 21:35:39 +08:00
Ethan Shen
8b0deaa7a6 fix(route): 中山大学计算机学院 (#8333)
* fix(route): 中山大学计算机学院

* docs: fix path and paramsDesc

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-25 11:22:51 +08:00
EsuRt
3d888cb765 feat(route): 新增JavBus发行商和制作商订阅 (#8183)
* 新增JavBus发行商和制作商订阅

* docs: fix unnecessary changes

* refactor: migrate to v2

* docs: remove dup items

Co-authored-by: EsuRt <thusid@outlook.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-25 10:05:48 +08:00
KotoriK
cefd9573c8 feat(router): 8kcos tag (#7237)
* fix(route):route 8kcosplay: 子路由/category 无法获取

* feat(route):route 8kcosplay: 增加/tag

* 一些修正

* doc:子路由/tag

* style:

* disable pre-commit hook

* fix(route):route 8kcosplay: 最新文章无法获取

* fix(route):route 8kcosplay: 遵循pubDate规范

* style(route):route 8kcosplay: 遵循pubDate规范

* route 8kcosplay: 获取不到页面时不返回item

* Revert "disable pre-commit hook"

This reverts commit d1342b9ea2.

* fix(route):route 8kcosplay: 删除不必要的async

* fix(route):route 8kcosplay: 限制文章全文获取数量

* use @/utils/got

* feat(route):route 8kcosplay: 使用limit query限制文章全文获取数量

* refactor: migrated to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-25 08:59:52 +08:00
Fatpandac
77f3e710fa fix(route): appstore refactor to V2 (#9177)
* fix(route): appstore refactor to V2

* fix(route): add radar.js

* fix: remove legacy url.resolve
2022-02-25 00:14:13 +08:00
Fatpandac
9cb8d5053c fix(route): apple/exchange_repair refactor to V2 (#9176)
* fix(route): apple/exchange_repair refactor to V2

* fix(route): add radar.js

* fix: remove legacy url.resolve use tryGet
2022-02-25 00:00: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
4f0c1cfdb2 fix: add Lofter用户文章分类 & 视频 (#8061)
* fix: add Lofter用户文章分类 & 视频

* add limit

* fix limit

* refactor: migrate to v2

* fix: route path

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-24 00:23:10 +08:00
cccht
5231825cde feat(route): 潍坊学院首页及教务处新闻通知 (#8039)
* 添加潍坊学院及教务处通知

* 添加潍坊学院router

* Create jwc.js

* Create news.js

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 23:36:05 +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
Ethan Shen
0f503e55e0 fix(route): 每经网分类 (#7998)
* fix(route): 每经网分类

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 21:11:16 +08: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