Commit Graph

229 Commits

Author SHA1 Message Date
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
github-actions[bot] e0bab7618b style: auto format 2023-05-15 15:07:38 +00: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
Bryan 261b12a80d
docs: update fly.io installation doc (#12472)
* docs: update fly.io installation doc

* style: auto format

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-08 13:37:37 +08:00
dependabot[bot] b982947a60
chore(deps): bump https-proxy-agent from 5.0.1 to 6.1.0 and socks-proxy-agent from 7.0.0 to 8.0.1 (#12445)
* chore(deps): bump https-proxy-agent from 5.0.1 to 6.0.0

Bumps [https-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/https-proxy-agent) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases)
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/https-proxy-agent/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/HEAD/packages/https-proxy-agent)

---
updated-dependencies:
- dependency-name: https-proxy-agent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump https-proxy-agent from 5.0.1 to 6.0.0

* test: update test to use WHATWG URL API

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-07 00:25:12 +08:00
夏宇航 76d0a7deb9
docs: add deploy to Zeabur (#12449)
* docs: add deploy to Zeabur

* fix typo
2023-05-05 22:36:39 +08:00
Tony 1de1e9ae56
build: use pnpm (#12438)
* build: use pnpm

* fix: use corepack pnpm

* chore: use pnpm in gha

* chore: add setup pnpm

* fix: install command

* fix: pnpm lock file not updated

* chore: pnpm no recursive install

* docs: use pnpm

* fix: ignore yarn lock

* chore: update command for cloud dev env
2023-05-05 20:09:54 +08: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
DIYgod 74fd40cfbe
docs: add Deploy to Railway 2023-03-19 03:11:02 +00:00
github-actions[bot] 9966ce7384 style: auto format 2023-03-17 13:56:47 +00: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
Jonathan Zhang 53d7503038
docs: 增加了部署页面的内容 (#11796)
* Update README.md

* Update README.md

* Update README.md
2023-02-07 20:03:31 +08:00
Ryan Cao c27dcd9ab9
docs: 增加 Fly.io 部署文档 (#11721)
* docs: Fly.io deploy instructions

* fix: adopt suggestions
2023-01-31 00:06:40 +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
Manu 0855c9fb80
docs: Add PikaPods.com as deployment option (#11256)
* Add PikaPods.com as deployment option

* docs: fix wording
2022-11-10 20:49:05 +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
github-actions[bot] 25e34f6f35 style: auto format 2022-09-26 12:55:35 +00: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
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
dependabot[bot] ff57adb089
chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1 (#10675)
* chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1

Bumps [@vercel/nft](https://github.com/vercel/nft) from 0.21.0 to 0.22.1.
- [Release notes](https://github.com/vercel/nft/releases)
- [Commits](https://github.com/vercel/nft/compare/0.21.0...0.22.1)

---
updated-dependencies:
- dependency-name: "@vercel/nft"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert "docs: vercel workaround (#10665)"

This reverts commit f57e6230ac.

* fix: scrape settings

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 01:54:37 +08:00
Tony f57e6230ac
docs: vercel workaround (#10665)
* docs: vercel workaround

* docs: weekly scrape
2022-09-01 03:47:18 +08:00
Tony 45cd224e18 docs: update deploy guide
https://github.com/DIYgod/RSSHub/discussions/10615
2022-08-25 19:28:14 +00: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 d979310c1a fix(docs): align cn and en docs for experimental params 2022-06-21 13:33:25 -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 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
github-actions[bot] bd7e5e768e style: auto format 2022-05-13 16:51:25 +00: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
zoenglinghou 9b176217f3
docs: Update documentation for IMAP config to reflect #8212 (#9657) 2022-04-29 10:00:56 +00:00
Rongrong d8c00ec238
build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

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

* build(Dockerfile): fix redundant command and label

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

* build(docker): only install prod deps to speed up

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

* docs(install): minor fixes

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

* build(Dockerfile): bump to `node:16-bullseye-slim`

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

* build(Dockerfile): fix yarn registry mirror

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

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
github-actions[bot] 0e91efee0b style: auto format 2022-04-21 15:05:40 +00: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
Rongrong 79d9192469
fix(route)(twitter): outdated web API (#9471)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:22:18 +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
Tony fe775f5198
fix(route): github comments use api (#9358)
fix(route): github comments use api
2022-03-21 17:17:59 +00: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