Commit Graph

140 Commits

Author SHA1 Message Date
Henry Wang
d6056e2dbc feat!: allowlist & denylist (#13681)
* feat!: allowlist & denylist

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* chore: revert

---------
2023-11-03 21:21:17 +08:00
JimenezLi
121763bb6d feat(core): add logger timestamp (#13165)
* feat(core): add logger timestamp

* Update website/docs/install/README.md

---------
2023-08-31 00:18:48 +08:00
Andvari
657c67ec37 feat(route): Start on support for generic discourse forums. (#13063)
* Start on support for generic discourse forums.

* Add doc.

* Update doc.

* Add exception.

* Update doc.

* Update bbs.md

* test: add discourse config

* docs: fix typo

* fix: guard condition

---------
2023-08-23 21:19:45 +08:00
JimenezLi
8e4f814ea6 fix(route): add tophub cookie (#13104)
* fix(route): add tophub cookie

* add docs for tophub cookie

* Update docs

* docs: reorder env
2023-08-23 20:36:08 +08:00
DIYgod
485013e950 fix: pixiv bypassCdn default value 2023-08-21 01:17:03 +01:00
DIYgod
f1660e9723 feat: expand the scope of retries and set proxy strategy 2023-07-24 02:38:24 +01:00
DIYgod
3a5d293b7f feat: support reverse proxy 2023-07-23 20:28:38 +01:00
Rongrong
7e45fe12e9 fix(route/twitter): Web API authentication (#12754) 2023-07-04 18:24:09 +01:00
caa172bfc6 feat(route): add 色花堂作者文章 (#12584)
* 色花堂作者文章

* 文档更改

* 修改router

* fix:代码问题

* Fix bugs and add documentation

* fix bugs

* style: auto format

* Update lib/v2/sehuatang/user.js

* Update lib/v2/sehuatang/user.js

* Update README.md

* style: auto format

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-03 00:30:11 +08:00
Curly Brackets
5e3a580917 feat(notion): support notion database (#12546)
* feat(notion): support notion database

* fix(notion): convert markdown to html

* fix(notion): format notion docs +  fix the dependencies version

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

* docs(notion): insert new entries in alphabetical order.

* refactor(notion): add notion key check

* style(notion): format code

* chore(notion): update pnpm-lock.yaml up to date with package.json

* chore: rebuild pnpm lock

---------
2023-05-22 21:18:25 +08:00
Junk_Chen
2bd8e4842a feat(route): 微博自定义分组(使用Cookie) (#12514)
* change route 'weibo/user' to fit api could be opened with Share(third-party android weibo clent)

* update weibo group route using cookies approach

* fix typo

* code optimization for /weibo/group; docs for /weibo/group

* try fix ESLint error

* fix typo and code optimization

* fix missing ','

* '/weibo/group' throw error when the cookie is not set
2023-05-15 23:04:59 +08:00
Bryan
32a35f29d4 feat(route): support medium (#12475)
* feat(route): support medium

* docs(route): support medium

* feat(medium): add radar.js

* Update docs/blog.md

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

* Update docs/blog.md

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

* Update docs/blog.md

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

* Update docs/blog.md

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

* Update docs/en/blog.md

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

* Update lib/v2/medium/tag.js

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

* Update lib/v2/medium/router.js

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

* Update lib/v2/medium/maintainer.js

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

* Update docs/en/blog.md

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

* Update docs/en/blog.md

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

* Update docs/en/blog.md

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

* Update lib/v2/medium/following.js

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

* Update lib/v2/medium/for-you.js

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

* Update lib/v2/medium/list.js

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

* chore(medium): update graphql

---------

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2023-05-09 01:57:15 -11:00
FeCCC
91e19819a9 fix(route): iwara subscription get token (#12422)
* fix(route): iwara subscription get token

* style: auto format

* cache iwara token in iwara subscriptions

* style: auto format

* use access token to get iwara subscriptions

* style: auto format

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-03 20:49:00 +08:00
TonyRL
d5daaaf5c6 docs: sort envs 2023-04-20 13:40:09 +00:00
DIYgod
3387c77b8f feat: add civitai 2023-04-03 03:08:21 +01:00
Tony
98977d345e feat(route): discord (#11999)
* feat(route): discord

* fix: add feed link
2023-03-02 05:15:35 +08:00
Tony
c389e2c887 feat(route): pixabay (#11956) 2023-02-26 01:51:56 +08:00
Tony
68e972464c feat(route): instagram from cookie (#11952)
* feat(route): instagram 2

* docs: add docs

* fix: get tabs

* docs: fix tag
2023-02-25 15:12:06 +08:00
Tony
fcdc18fe44 fix(route): yuque (#11863)
* fix(route): yuque

* docs: fix paramsDesc
2023-02-14 21:02:23 +08:00
Tony
a66cbcf6ee feat(config)!: unsafe domain toggle (#11588) 2023-01-10 11:45:05 +00:00
Tony
0128bf798a fix(config): pixiv default img proxy (#11495) 2022-12-24 01:30:01 +08:00
Nisekoi5
de26213b58 fix: Fantia请求部分内容时因无cookie导致出错 (#10892)
* 为fantia增加cookie配置

* 为fantia的另一个路由增加cookies

* 增加文档教程,另外增加容错,就算Cookie也不抛出异常,而是返回小的缩略图

* refactor: migrate to v2
2022-09-27 23:20:06 +08:00
Axojhf
67fe3a0cfa fix(route): Fix saraba1st thread cannot get image (#10906)
* add saraba1st Cookie Environment.
fix thread img issue

* add Saraba1st config to Install Doc

* fix imgHtml

* fix timezone

* refactor: migrate to v2
2022-09-26 20:52:50 +08:00
07a42d4f30 fix(route)(twitter): new bearer to support 18+ tweet (#10870) 2022-09-23 18:01:57 +08:00
FeCCC
f27821d424 feat(route): add ZodGame (#10778)
* feat(route): add ZodGame

* style: auto format

* Update docs/bbs.md

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

* Update docs/en/bbs.md

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

Co-authored-by: FeCCC <964575805@qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-14 02:50:09 +08:00
Tony
878266c535 feat(core): true ua (#10761)
* feat(core): true ua

* test: skip mercury parser temporary
2022-09-12 01:13:38 +08:00
shininome
41e4d7cf84 feat: 添加漫画柜个人订阅 (#10727)
* 1

1

* 添加个人订阅

* Delete 1

* Add files via upload

* 添加mhgui的cookie获取

* 添加manhuagui个人订阅

* Add files via upload

* Update subscribe.js

* Update subscribe.js

* style: auto format

* 修改 manhuagui/selfhost=1

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

* Update docs/anime.md

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

* manhuagui规范文档

* style: auto format

* 添加漫画柜渲染文件

* 使用模板渲染,修改radar格式

* style: auto format

* refactor: migrate to v2

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-07 22:32:41 +08:00
syrinka
d38dbe644a feat(route): 为 E 站增加 star cookie (#10607) 2022-08-25 19:30:28 +08:00
FeCCC
1a9fc89ff7 feat(route): iwara用户订阅列表 (#10517)
* feat(route): iwara用户订阅列表

* Update Error message in iwara subscription

Co-authored-by: FeCCC <964575805@qq.com>
2022-08-18 04:43:27 +04:00
NeverBehave
dc64debaf7 feat(core): regex engine naming and test suit (#10014)
* feat(core): regex engine config

* fix(docs): config naming

* filter-engine test naming
2022-06-23 04:38:52 +08:00
NeverBehave
e4478a366c feat(core): regex engine config (#10013) 2022-06-22 12:25:30 -07:00
NeverBehave
5db837d6dc feat(core): anti-hotlink experimental parameters (#9997)
Co-authored-by: Rongrong <i@rong.moe>
2022-06-20 18:41:16 -07:00
Tony
b9bc6831a4 feat(route): gitee (#9886) 2022-06-03 12:48:06 +08:00
Tony
b73fb8d41e fix: use RSSHub as npm package
close #9830
2022-05-29 23:25:08 +08:00
Tony
e953f9f456 feat(route): youtube subscriptions (#9824) 2022-05-26 20:37:12 +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
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
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
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
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
Howard Yin
67d87e2eea feat(route): E站增加封面图嵌入RSS和封面图替换为代理网址的功能 (#9344)
* 增加封面图嵌入RSS的功能

* 增加EH封面图代理的功能

* 改用URLSearchParams代替querystring
增加对"Minimal", "Minimal+" and "Extended"页面模式的支持

* fix: matching logic

* refactor: migrate to v2

* docs: add missing description of EH_IMG_PROXY

* docs: remove ignoring EH_SK

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-21 23:03:55 +08:00
Tony
bafb3534e1 feat(utils): random user agent (#9449)
* feat(utils): random ua

* chore: bump rand-user-agent to 1.0.58(no more deps)
2022-04-12 17:51:07 +08:00
Rein-Ou
2a728f1e1c feat(route): add Weather forcast (#9382)
* weather_forcast

* format

* cache

* Update lib/v2/weather/index.js

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

* Update lib/v2/weather/util/location.js

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

* Update docs/forecast.md

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

* modify

* Update forecast.md

* readme.md

* docs: reorder `HEFENG_KEY`
2022-03-25 23:57:33 +08:00
Genghis Yang
10118b004f fix(core): MEMORY_MAX should be an integer (#9352) 2022-03-20 23:06:41 +08:00
Tony
2ed9fd5c5f chore: bump lru-cache from 6.0.0 to 7.7.1 (#9339)
* feat(core): lru-cache v7

* chore: bump lru-cache to 7.7.1

* feat: configurable max
2022-03-18 21:08:04 +08:00
Zhen Zhong
3baeb0aa8c feat(route): add bitbucket commits and tags (#9316)
* add bitbucket commits and tags

* add english doc

* fix bitbucket radar.js

* fix bitbucket docs

* docs: add bitbucket cn docs

* fix: use parseDate utils
2022-03-14 20:57:54 +08:00
Tony
233f1c8152 refactor: config.js (#9305)
* refactor: reorder lib/config.js

* docs: reorder config
2022-03-11 22:12:42 +08:00
Howard Yin
136d462f09 feat(route): ExHentai (#9190)
* 添加里站

* lint
2022-02-25 00:43:18 +08:00
Rick Lee
f1e7c90c3e feat: 为豆瓣想看增加Cookie配置项 (#9110) 2022-02-24 23:50:12 +08:00
Shizun Ge
a42dce573c fix(route): Instagram route reads config from the config module (#9129)
* instagram route read config from the config module instead of directly from process.env

* add IG_PROXY to config.js
2022-02-17 08:53:33 +03:00