Commit Graph

122 Commits

Author SHA1 Message Date
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
Outvi V
36b4cc5baa feat(route): add spotify (#8966)
* feat: /spotify/playlist/:id

* feat: /spotify/artist

* feat(spotify/artist): add to radar

* feat: /spotify/saved

* feat: /spotify/top/{tracks,artists}

* feat(spotify): add images for artist and playlist

* docs: /spotify/*

* docs/en: /spotify configurations

* chore(spotify): apiKey/Secret -> clientId/Secret

* fix(spotify/utils): genres can be empty
2022-02-04 18:46:53 +08:00
Fatpandac
c144a1864b feat(route): add Google Fonts and refactor /google/** to V2 (#8927)
* Add(route): add Google Fonts and change to V2

* Fix(route): added throw error when API key is underfined

* Fix(docs): add warning container

* Fix(docs): Update docs/design.md

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

* Fix(route): sort routes

* Fix(route): Update lib/v2/google/fonts.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 01:18:17 +08:00
AgFlore
37a2152723 fix: 网易云音乐提供Cookie,抓取需要登陆才可见的歌单 && 中纪委、外交部网站小变动 (#8674) 2022-01-22 15:32:05 +00:00
Fatpandac
5bba997285 Add(route): add 轻小说文库首页类别 and change to v2 (#8894) 2022-01-22 14:37:54 +00:00
Peng Guanwen
0230a94673 Support fulltext acquirement in infzm (#8590) 2021-11-27 09:16:08 +00:00
DIYgod
53f6347189 feat: pixiv PIXIV_IMG_PROXY 2021-11-02 17:40:24 +00:00
Howard Yin
8875fb127f feat(route): Twitter用户时间线和用户媒体时间线不再需要开发者账户 (#7739) 2021-10-05 02:40:31 -07:00
NeverBehave
0792f7ba25 feat(core): first attempt to init script standard (#8224)
- lazy load
- rate limit per path
- init .debug.json support
- docs
- maintainer
- radar
2021-09-22 05:41:00 -07:00
Howard Yin
6b8a40794e feat(route): add e-hentai (#7741) 2021-08-25 22:46:16 +08:00
zekin
8bb8e1fcb2 fix(route): bupt (#7489) 2021-05-25 09:33:59 -04:00
小白-白
9cd6cda696 fix: [breaking] [config] pixiv support refresh token login (#6911)
* fix: support refresh token login (#6883)

* docs: update pixiv login

* docs: update pixiv login
2021-02-14 04:55:45 -05:00
DIYgod
89e82d88fa feat: got request timeout 2021-02-01 20:06:49 +08:00
DIYgod
177c36cae7 feat: sentry route timeout 2021-02-01 20:06:23 +08:00
DIYgod
97893f2701 feat: replace co-redis and redis with ioredis, make cache module clearer 2021-01-27 19:16:59 +08:00
Haodong DU
fdfbc0658f feat: add wordpress config for http images (#6790)
* wordpress: add cdn for images

* wordpress: use envars to define cdn url

* wordpress: fix english doc

* wordpress: update route

* wordpress: update docs

Co-authored-by: duhd1993 <duhd1993@gmail.com>
2021-01-26 19:52:26 -05:00
DIYgod
1a463e09c9 Merge branch 'pr/tuzi3040/6741' 2021-01-21 17:10:30 +08:00
DIYgod
a0dd6756da Revert "fix: disable default debug info (#6544)"
This reverts commit cac6f75472.
2021-01-21 11:51:18 +08:00
tuzi3040
d6ffc1d707 chore(config): change DEBUG_INFO default value type
Switch default value of DEBUG_INFO from boolen `false` to string `'false'`.
Complete comment for DEBUG_INFO.
2021-01-21 10:29:27 +08:00