Commit Graph

506 Commits

Author SHA1 Message Date
Henry 19e3833598
fix: 懂球帝缓存错误 2022-05-06 21:38:22 +01:00
github-actions[bot] 115bf9338e style: auto format 2022-05-06 16:43:25 +00:00
程序员老马 808147545f
fix(route): bug fix and perf improve for moe (#9703)
* 有些直播页没有内容可提取,直接返回直播页的url

* 公告公示的详情页需要使用id选择器来提取内容

* lint code & add referer header to simulate the behavior of a real browser

* forgot the 'method' option
2022-05-07 00:41:48 +08:00
Ethan Shen 3323398731
fix(route): Epic Games Store (#9712)
* fix(route): Epic Games Store

* docs: add locale and country
2022-05-07 00:28:40 +08:00
Rongrong 955de7d52a
refactor(route/jike): extract repeated logic; fix await (#9698)
* refactor(route/jike): rename `common` -> `utils`

Signed-off-by: Rongrong <i@rong.moe>

* refactor(route/jike): extract repeated logic

Signed-off-by: Rongrong <i@rong.moe>

* fix(route/jike): lack await

Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 22:36:15 +08:00
github-actions[bot] f3741e8530 style: auto format 2022-05-05 13:49:44 +00:00
neila a6b2f65c5e
feat(route): add njit (#9696)
* first add njit

* add njit radar

* Update lib/v2/njit/radar.js
2022-05-05 02:48:05 -11:00
Rongrong 63ccc9499b
fix(route/jike): image URL; outdated usage (#9693)
* fix(route/jike): image URL; outdated usage

Signed-off-by: Rongrong <i@rong.moe>

* refactor: migrate to v2

* fix: unescaped .

* feat(route/jike): new radar rule

Signed-off-by: Rongrong <i@rong.moe>
2022-05-05 20:28:04 +08:00
Halcao be1a1b303c
fix(route): uraaka-joshi (#7908)
* modify uraaka-joshi to puppeteer

* style: auto format

* fix(route): uraaka-joshi and user

* docs: fix author

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-05 04:22:23 +08:00
Rongrong a5d74e521c
feat(core/middleware/anti-hotlink): route matching (#9681)
* feat(core/middleware/anti-hotlink): route matching

Signed-off-by: Rongrong <i@rong.moe>

* fix(test): coverage

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix mistaken config key

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 03:29:23 +08:00
Tony 225d922d9c
fix(route): javdb new layout (#9687) 2022-05-04 03:02:47 +08:00
Zhiyang Guo ac7b3666d8
fix(route): 南京理工大学 (#9659)
* fix(route): 南京理工大学

* refactor: migrate to v2

* refactor: migrate to v2

* Update yarn.lock

* fix: remove standalone puppeteer extra

* fix(route): minor misc changes

* fix(route): sort routes in alphabetical order

* fix(route): update utils.js
2022-05-03 19:37:58 +08:00
yuxinliu-alex e21f09174c
feat(route): 爱果果-最新H5 (#9648)
* feat(route): 爱果果-最新H5

* Update lib/v2/iguoguo/radar.js

* Update lib/v2/iguoguo/radar.js

Co-authored-by: yuxinliu <yuxin2@mgtv.com>
2022-05-01 21:58:29 +08:00
Mengxin Cao a428c4c5cd
fix(route): broken link embassy/us (#9673)
* Fix broken link embassy/us

* refactor: migrate to v2

* fix: embassy/us selector
2022-05-01 21:27:20 +08:00
Zhiyang Guo f88e58b493
feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系 (#9666)
* fix(route): 中科大官网通知公告正文内容获取

* refactor: migrate to v2

* feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系

* fix: sort router

* fix: deprecated url.resolve

* fix: fulltext cache

fix: nullish coalescing

fix: data.link

fix: cache.tryGet

* fix: deepscan
2022-05-01 17:36:33 +08:00
Henry Wang 1a547caf3b
feat(route): 更新少数派全文支持 (#9653)
* feat: 少数派首页全文输出

* feat: 少数派全路由全文

* feat: 少数派专栏全文

* refactor: migrate to v2

* fix: cache key
2022-05-01 17:34:45 +08:00
Ethan Shen 70e20bec2c
fix(route): 有知有行有知文章 (#9668) 2022-05-01 06:34:00 +08:00
Ethan Shen e5484a75bd
feat(route): add 云听 (#9665)
* feat(route): add 云听

* fix typo

* fix: wrong data
2022-05-01 06:13:57 +08:00
Henry d5e1217498
fix: 修复懂球帝部分路由图片加载的bug 2022-04-30 20:57:13 +01:00
Rongrong c4ca3e4ee9
feat(route): add ally/rail (#9660)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 23:15:12 +08:00
TonyRL d9dd7afbb0 fix(radar): szse docs url 2022-04-30 15:06:13 +00:00
Ethan Shen 22bbc76ef5
fix(route): 深圳证券交易所问询函件 (#9658)
* fix(route): 深圳证券交易所问询函件

* fix typo

* fix description

* docs: fix category
2022-04-30 23:03:30 +08:00
Ethan Shen 4e65978b0c
feat(route): add C114通信网滚动新闻 (#9651)
feat(route): add C114通信网滚动新闻
2022-04-29 01:12:31 +01:00
Zhiyang Guo 4f5699ba0e
feat(route): add Zotero (#9650)
* feat(route): add Zotero

* docs: add en docs

* docs: use chinese for cn docs
2022-04-29 01:19:12 +08:00
Ethan Shen 969df26d3d
fix(route): 联合早报图片重定向 (#9645) 2022-04-28 19:08:37 +08:00
bao1991213 bba6a46d19
feat(route): add 人人影视-今日播出 (#9619)
* feat(route): add 人人影视-今日播出

* feat(route): 人人影视-今日更新 v2 standard

* refactor: migrate to v2

* fix: apply suggestion
2022-04-27 23:01:32 +08:00
Ethan Shen 3d98cf66ef
fix(route): 京东商品价格标题 (#9638)
* fix(route): 京东商品价格标题

* fix: add guid
2022-04-27 07:01:49 +01:00
Tony ff977597f1
fix(route): bilibili video page ordering, accept common limit params (#9634) 2022-04-27 04:19:38 +08:00
Jigsaw a82e9057ca
feat(route): add 中南大学计算机学院通知 (#9631)
* feat(route): add 中南大学计算机学院通知

* fix: use nullish coalescing
2022-04-26 19:48:50 +08:00
Ethan Shen 3b73533f95
feat(route): add 京东商品价格 (#9629) 2022-04-26 13:29:40 +08:00
Rongrong 6510892497
feat(route)(douyin/user): major rewrite (#9618)
new:
embedded video
pubDate
category
avatar
user description

fix:
potential element class change

Signed-off-by: Rongrong <i@rong.moe>
2022-04-25 21:43:29 +08:00
Ethan Shen bc92dbcdc2
feat(route): add 中南财经政法大学通知公告 (#9616) 2022-04-25 20:56:47 +08:00
Derek 68b2499d4a
feat(route): optimize the display title of jasa, ieee and elsevier journal (#9615) 2022-04-25 10:15:39 +01:00
zytomorrow 133a9602e7
fix(route): sichuan/deyang 政府公开信息 (#9613) 2022-04-25 08:22:50 +01:00
huangliangshusheng 65857026f8
feat(route): add syosetu (#9612)
* feat(route): add syosetu

* fix doc
2022-04-25 11:01:47 +08:00
kdan 377c2c4d57
feat(route): add chinafactcheck (#9611)
* 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

* docs: fix Route's path and example of chinacef

* Revert "docs: fix Route's path and example of chinacef"

This reverts commit 0ec9e7d9d6d1eff201482e38a26b255478861a5c.

* docs: fix Route's path and example of chinacef

* feat(route): add chinafactcheck

Co-authored-by: linkai <linkai@mochasoft.com.cn>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-25 10:37:48 +08:00
Ethan Shen c9e423b8f1
feat(route): add Coomer (#9610)
* feat(route): add Coomer

* fix typo
2022-04-25 08:56:03 +08:00
swwind 29c04851da
feat(route): add arknights announce (#9607)
* feat: add arknights announce

* feat: dynamic rss title

* migrate arknights to v2

* fix: replace dayjs to parseDate

* refactor: sort maintainer and router

feat: add radar

refactor: use parseDate utils
2022-04-24 23:36:14 +08:00
DylanXie123 10acacfa46
feat(route): add 北京大学学生就业指导服务中心 (#7904)
* feat(route): add 北京大学学生就业指导服务中心

* fix(route): get content from sript tag

request content in script tag to get full text

* fix(doc): fix parameter description

* fix(route): fix header and selector

* add test request and wait

* docs: fix warning

* refactor: migrate to v2

* fix: eecs

refactor: legacy url.resolve

refactor: use parseDate from utils

* docs: fix recruit path

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-24 23:14:17 +08:00
Max-Tortoise c9bb12fc34
feat(route): add 抖音 (#9604)
* feat(route): add 抖音

* Update lib/v2/douyin/user.js

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

* Update lib/v2/douyin/user.js

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

* fix substring and add config require

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-24 17:14:27 +11:00
Sxuet c7aa447100
feat(route): 北极星光伏 (#9542)
* 新增北极星光伏网路由

* 规范化北极星光伏网路由

* 修改一些文本错误

* refactor: migrate to v2
2022-04-23 19:16:16 +08:00
ZhenHappy ac11c9e2f5
feat(route): add A姐分享NSFW (#9596)
* feat(route): add A姐分享NSFW

* feat(route): add A姐分享NSFW
2022-04-23 13:41:14 +08:00
github-actions[bot] 312fd168ac style: auto format 2022-04-23 04:39:25 +00:00
shininome ef8aeab553
fix(route): 解决bilibili专栏多张图片时无法获取问题 (#9601)
* Add files via upload

* Update lib/v2/bilibili/article.js

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

* Update lib/v2/bilibili/article.js

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

* Update lib/v2/bilibili/article.js

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

* Update article.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-23 10:37:25 +06:00
github-actions[bot] a9799e47a5 style: auto format 2022-04-22 18:23:39 +00:00
程序员老马 159da9059e
fix(route): 教育部路由新增教育要闻分类,修复部分文章标题取值;优化雪球路由,对于讨论帖直接获取完整内容 (#9556)
* 雪球的讨论帖可以直接从text字段中取到完整内容,长文帖只有description字段有值,获取逻辑不变

* 教育部路由增加“教育要闻”栏目类型获取,同时修复教育部文章title获取不到的问题

* 补充教育部路由增加教育要闻栏目类型的文档

* refactor: migrate to v2

* fix: legacy url.resolve

* 修复雪球返回完整讨论帖时遗漏了转发内容的问题

* 移除重复的key

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-23 02:21:38 +08:00
yuxinliu-alex 4dbd8f0e57
fix(route): CCTV - The link to detail page got blanks which cause the script can't get that item. (#9594)
Co-authored-by: yuxinliu <yuxin2@mgtv.com>
2022-04-22 19:48:04 +08: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
x2009again 42dfd5cc81
feat(route): 增加微语简报源 (#9577)
* 添加微语简报源

* 精简列表描述

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

* 修复部分序号错误问题

* 增加v2版微语简报源

* 时区修改

* 删除微语简报旧路由

* 按建议修改

* 修改微语简报网址
2022-04-21 23:18:35 +08:00