Commit Graph
3757 Commits
Author SHA1 Message Date
CaoMeiYouRen 7002b7ebd1 feat(米游社v2): 新增 米游社v2 绝区零 公告 (#9814) 2022-05-25 13:54:27 +02:00
Jiefu ace2b69f3e feat(route): 添加路由 FX-Markets.com (#9801)
* Add a new router for fx-markets.com

* Correct link to doc in radar definition

* Add en docs for fx-markets.com

* Update docs section title as suggested

* Use parseDate instead of date; remove unnecessary async as suggested
2022-05-24 00:02:50 +08:00
Fatpandac c315673990 fix(route): jike/topic add video (#9807) 2022-05-23 18:19:49 +08:00
Rongrong b5271168f9 fix(route/weibo/user): API upgrade (#9799)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-22 23:02:57 +08:00
TonyRL ac43d15af0 chore: fix vercel git hash
docs: https://vercel.com/docs/concepts/git/vercel-for-github
2022-05-21 15:20:21 +00:00
Fatpandac 1649aee4b2 feat(route): add Gumroad (#9795)
* feat(route): add Gumroad

* Update lib/v2/gumroad/maintainer.js
2022-05-21 18:48:23 +04:00
WUGqnwvMQPzl 662874849b fix(route): fetch rich HTML content on chinanews (#9798)
* fix(route): fetch rich HTML content on chinanews

* fix: remove ads
2022-05-21 22:34:25 +08:00
Rongrong 2c4eab5e31 fix(core/parameter): absurd wrong path cache time (#9796)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-21 21:44:45 +08:00
Rongrong f3de5e39bc feat(route): add KCNA (#9792)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-21 02:34:09 +07:00
Wildmoe eea20288d5 fix(route): 南京停水通知 (#9782)
* fix(route): 南京停水通知

* fix(route): 南京停水通知

* refactor: migrate to v2
2022-05-21 00:35:05 +08:00
github-actions[bot] 57ea542ff4 style: auto format 2022-05-20 16:11:58 +00:00
tsarleweyandTony 72f8829a2d feat(route): add Lever HRIS (#9779)
* Adds HRIS platform Lever for jobs

* fix example route

* adhere to v2 standard

* adhere to v2 standard, remove old route

* Update lib/v2/lever/maintainer.js

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

* Update lib/v2/lever/router.js

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

* Update lib/v2/lever/index.js

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

* Update docs/en/other.md

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

* Remove non-used assets

* Update lib/v2/lever/index.js

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

* Human Readable links for domain
2022-05-21 00:10:19 +08:00
FatpandacandTony e1347b3d99 feat(route): add CNCF (#9790)
* feat(route): add CNCF

* Update docs/en/programming.md

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

* Update docs/programming.md

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

* Update lib/v2/cncf/maintainer.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-05-20 19:00:19 +08:00
CancerGaryandTonyRL 950bfa61ed feat(route): add juejin news (#7969)
* feat(route): add juejin news

* feat(route): add juejin news

* fix(route): juejin news pubDate

* fix: fix utility

* refactor: migrate to v2

* fix: typo

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-20 01:55:18 +08:00
b0ttle f477e3e8bf fix(route): fixed routes/earthquake and ceic timezone shift (#9780)
* fixed routes/earthquake and ceic timezone shift

* use utils/timezone and remove changes on yarn.lock

* edit format problem

* refactor: migrate to v2
2022-05-19 01:29:58 +08:00
KotoriKandTony 6187a08227 fix(route:aliyun/developer/group): 获取到的全是0 (#9741)
* fix(route:aliyun/developer/group): 获取到的全是0

* Update lib/routes/aliyun/developer/group.js

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

* Update lib/routes/aliyun/developer/group.js

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

* refactor: migrate to v2

* refactor: use cache.tryGet

* fix: add radar

* fix: article parsing
2022-05-19 00:03:00 +08:00
FatpandacandTony 5b620f60a6 feat(route): add 苏州科技大学教务处 (#9777)
* feat(route): add 苏州科技大学教务处

* fix(radar): fix radar docs link

* fix(route): fix CodeQl high severity security vulnerability

* Update lib/v2/usts/jwch.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-05-18 01:26:36 +08:00
f17ff7104c feat(route): add Mobilism (#8949)
* Add(route): add Mobilism

* 去除注释
去除登录

* Revert "去除注释"

This reverts commit 8b1409aee2f44335bca39efdab8d524e749ccb3e.

* 尝试修复重复推送问题

* 修复部分情况下时间获取错误

* 去除时间获取(重复推送BUG无法解决)
增加全文获取

* 添加参数判断是否获取全文

* 修改

* 2022年1月30日14:22:40

* fix: remove login, use built-in `toTitleCase`

* docs: add missing docs

* fix: radar

* fix: typo

Co-authored-by: Nite07 <nmy1207@outlook.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-05-17 23:36:06 +08:00
8d5836e3f3 fix(route): 9to5/subsite fix selector, use tag and refactor to V2 (#9771)
* fix(route): 9to5/subsite fix selector and refactor to V2

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* fix(route): change link

* Update lib/v2/9to5/subsite.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* Update lib/v2/9to5/radar.js

Co-authored-by: Rongrong <i@rong.moe>

* fix(docs): add radar and rssbud badges

* Update lib/v2/9to5/subsite.js

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

Co-authored-by: Rongrong <i@rong.moe>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-05-17 23:18:02 +08:00
Tony 0f31bfa8b9 fix(utils): parse relative date with meridiem (#9775)
* fix(utils): parse relative date with meridiem

* fix: use regex
2022-05-17 20:21:47 +08:00
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
YueandRongrong 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-tyandpull[bot] 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
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
AEliuandGitHub Action 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
jerry1119andRongrong 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
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