Commit Graph

3737 Commits

Author SHA1 Message Date
Arracc f7c02471d0
fix(route): yomiuri news list structure changed (#9764) 2022-05-17 01:13:55 +08:00
Ethan Shen a4ce5128ab
feat(route): add 河北省财政厅 (#9759)
* feat(route): add 河北省财政厅

* regenerate

* fix typo

* fix typo
2022-05-15 22:21:42 +08:00
Rongrong bab100a487
feat(route/twitter): allow force using Web API (#9760)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-15 22:17:23 +08:00
Yue 9e32a7971e
fix(route): 优化知乎问题获取方式,不必设置环境变量 (#9754)
* improve:优化知乎问题获取方式,不必设置环境变量

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* add cache support for dc_0(by Rongrong <i@rong.moe>)

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-15 18:13:29 +08:00
NeverBehave 2c41038726
chore(workflow): ping maintainer on matched routes; [skip ci] (#9758) 2022-05-15 02:31:33 -07:00
Tony 84f543072f
fix(route): nature research null description (#9752) 2022-05-14 02:18:16 +08:00
Tony 6b9e46b86b
style: disable eslint on g_encrypt 2022-05-14 01:32:08 +08:00
github-actions[bot] bd7e5e768e style: auto format 2022-05-13 16:51:25 +00:00
auto-bot-ty 6c12c7686a
feat(route): 旅法师营地 显示内嵌b站视频地址 (#9749)
Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2022-05-14 00:49:25 +08:00
TonyRL c29bd1e56b style: disable eslint on g_encrypt 2022-05-13 16:47:56 +00:00
Tony 039e8eb80f
fix(route): nature (#9748) 2022-05-14 00:37:06 +08:00
Yue 08602c778c
fix(route): 修复/zhihu/question无法获取,需要设置非登录状态下cookie (#9729)
* 修复/zhihu/question,需要设置非登录状态下cookie

* Update lib/routes/zhihu/execlib/g_encrypt.js

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

* 根据TonyRL review建议进行了修改

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* 增加cookie中dc_0字段检验

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* refactor: migrate to v2

* fix: Incomplete URL substring sanitization

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-14 00:21:11 +08:00
KotaHv 3205a1de20
fix(route): Epic Games Store (#9746) 2022-05-13 06:06:45 -04:00
Henry 659997e4cc
fix: wrong cache key 2022-05-13 05:42:36 +01:00
AEliu efd646d323
feat(route): add 中国智库网-观点与实践 (#8779)
* Add 中国智库网观点与实践

* style: auto format

* v2-chinathinktanks

* fix maintainer

* cache try get

* fix: viewpoint

* fix: parse relative date

* docs: fix example

* fix: typo

Co-authored-by: GitHub Action <action@github.com>
2022-05-09 22:18:52 +08:00
jerry1119 0c3ca1bb11
fix(route): fix pianyuan, add pianyuan/search (#9721)
* fix route pianyuan, add route pianyuan/search

* update doc

* changes for reviews

* Update lib/routes/pianyuan/utils.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* changes for reviews

* refactor: migrate to v2

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-09 01:00:29 +08:00
Liu233w 145ad517b6
feat: add immiau (#9722)
* feat(route): add immiau

Add news entry of Immigration and Citizenship, Department of Home Affairs, Australia.

* feat(route): add cn document for immiau

* refactor(router): move immiau to gov folder
2022-05-08 23:27:19 +08:00
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
notofoe a37cf18153
refactor (route/mastodon): quick fix on empty reposted toots (#9700) 2022-05-06 17:03:57 +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 23fcb6bc5a
feat(core/utils/request-wrapper): request logging (#9691)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 12:36:48 +10: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
Tony 0b544e1395
feat(utils): puppeteer-extra-plugin-stealth (#9676) 2022-05-03 01:17:17 +08:00
Tony 24e435d48f
feat(route)!: remove dwnews (#9675) 2022-05-01 23:49:31 +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
Rongrong 7a6be9a229
feat(core): customizable Chromium executable path (#9670)
* feat(core): customizable Chromium executable path

also build Chromium-bundled Docker image for arm/arm64

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

* chore: fix typo

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

* chore(CI/test): using build matrix

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

* docs(install): fix punctuation

Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +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
Rongrong 616ad78c88
fix(core/utils/anti-hotlink): invalid HTML output (#9669)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 04:14:07 +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
Tony e063633cd7
refactor: switch to `twitter-api-v2` from `twit` (#9652) 2022-04-29 01:35:10 +08: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
Tony 34b58ebc64
fix(utils): request without hostname (#9649) 2022-04-28 19:35:31 +08:00
Ethan Shen 969df26d3d
fix(route): 联合早报图片重定向 (#9645) 2022-04-28 19:08:37 +08:00