Commit Graph

104 Commits

Author SHA1 Message Date
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
NeverBehave
e573860e82 Merge branch 'master' into feat/scboy 2021-01-10 02:51:05 -05:00
Sean Chao
170a6428d1 feat: add zhihu follow timeline (#6560) 2021-01-06 22:53:08 +00:00
totorowechat
8376d90cca feat: add scboy 2020-12-29 15:57:07 +08:00
zphw
cac6f75472 fix: disable default debug info (#6544) 2020-12-28 17:02:51 +00:00
moonrailgun
fd8cb4a666 feat: add cors origin control into config (#6499) 2020-12-23 16:43:49 +00:00
DIYgod
c5f8dd19c6 feat: dida365, close #6486 2020-12-21 20:21:14 +08:00
Ethan Shen
683c38faf4 fix: sci-hub mirror address (#6304) 2020-12-01 11:18:34 +00:00
Enoch Ma
b9e3a6d575 feat: add miniflux (#5988) 2020-10-29 18:03:29 +00:00
Bao, Huang-Huang
5266046928 fix: resolve PIXIV_BYPASS_HOSTNAME via DNS over HTTPS (#5962) 2020-10-21 15:59:47 +01:00
Bao, Huang-Huang
45347d2b9c feat: bypass Pixiv Cloudflare by directly accessing Pixiv gateway server IP (#5952) 2020-10-20 11:18:05 +01:00
lwgpshit
bcc27b3319 feat: add forums4399 (#5915)
* foums4399

* fix cookie

Co-authored-by: Henry Wang <hi@henry.wang>
2020-10-19 11:48:54 +01:00
Zen Of
98a41593db feat: 端传媒 iOS IAP 内购凭证 (#5901) 2020-10-18 02:55:38 +01:00
prnake
35ec6e9272 fix: 喜马拉雅 (#5867) 2020-10-13 11:07:37 +01:00
prnake
0c0bbd4009 fix: btbyr (#5833) 2020-10-09 20:57:27 +01:00
sgqy
b538f75ef6 fix: (semi-fix) login to NGA to prevent 403 error. (#5747) 2020-10-03 21:24:15 +01:00
lessmoe
2ca56e8dc8 feat(breaking change): 将新榜登录方式改为COOKIE登陆 (#5552)
旧新榜登录方式将无法使用。
2020-08-30 04:07:48 +01:00
sgqy
165954ccf8 feat: add pixiv-fanbox (#5532) 2020-08-28 22:13:01 +01:00
notofoe
e7d62ebcd9 feat: add mastodon user timeline (#5188) 2020-07-29 14:27:23 +01:00