Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
pydantic: ["pydantic-v1", "pydantic-v2"]
exclude:
- python-version: "3.14"
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: ruff-rev-sync

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.6
rev: v0.17.4
hooks:
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@

uv add "nonebot-plugin-parser[htmlkit]"

`htmlrender`, 使用 `playwright` 渲染 `html`, 插件自 `v2.5.0` 起已正式支持
`htmlrender` / `takumi`, 使用 `takumi` 渲染 `html`, 插件自 `v2.7.2` 起已正式支持

uv add "nonebot-plugin-parser[htmlrender]"
uv add "nonebot-plugin-parser[takumi]"

现版本推荐组合

Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "nonebot-plugin-parser"
version = "2.7.1"
description = "NoneBot2 链接分享解析 Alconna 版, 现支持B站|抖音|快手|微博|小红书|YouTube|TikTok|Twitter|AcFun|NGA"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
authors = [{ "name" = "fllesser", "email" = "[email protected]" }]
keywords = [
"acfun",
Expand Down Expand Up @@ -38,7 +38,6 @@ classifiers = [
]

dependencies = [
"takumi-py>=0.3.0,<1.0.0",
"pillow>=11.0.0",
"aiofiles>=25.1.0",
"httpx>=0.27.2,<1.0.0",
Expand All @@ -60,9 +59,11 @@ Release = "https://github.com/fllesser/nonebot-plugin-parser/releases"
Repository = "https://github.com/fllesser/nonebot-plugin-parser"

[project.optional-dependencies]
takumi = ["takumi-py>=0.4.0,<1.0.0"]
htmlrender = ["takumi-py>=0.4.0,<1.0.0"]
ytdlp = ["yt-dlp[default]>=2025.7.4"]
emosvg = ["emosvg>=0.1.7"]
all = ["yt-dlp[default]>=2026.7.4", "emosvg>=0.1.7"]
all = ["yt-dlp[default]>=2026.7.4", "emosvg>=0.1.7", "takumi-py>=0.4.0,<1.0.0"]

[dependency-groups]
dev = [
Expand All @@ -75,6 +76,7 @@ dev = [
extras = [
"emosvg>=0.1.7",
"yt-dlp[default]>=2026.7.4",
"takumi-py>=0.4.0,<1.0.0",
"types-yt-dlp>=2026.3.13.20260314",
]
test = [
Expand Down
Loading
Loading