feat: 支持弹幕下载 (#58)

* chore: 简单引入字幕模块(WIP)

* feat: 初步支持弹幕下载

* feat: 尝试在维持视频比例的基础上对齐视频高度,通过标记 'static 移除生命周期参数

* chore: 在数据库中记录视频页的宽高和长度

* fix: 修复各种错误,移除无用代码
This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2024-04-10 01:42:17 +08:00
committed by GitHub
parent d7026bed78
commit 4cbe2b495a
19 changed files with 898 additions and 80 deletions
+10 -7
View File
@@ -13,26 +13,29 @@ dirs = "5.0.1"
entity = { path = "entity" }
env_logger = "0.11.3"
filenamify = "0.1.0"
float-ord = "0.3.2"
futures = "0.3.30"
handlebars = "5.1.2"
hex = "0.4.3"
log = "0.4.21"
memchr = "2.5.0"
migration = { path = "migration" }
once_cell = "1.19.0"
prost = "0.12.4"
quick-xml = { version = "0.31.0", features = ["async-tokio"] }
rand = "0.8.5"
regex = "1.10.3"
reqwest = { version = "0.12.0", features = [
"json",
"stream",
"cookies",
"gzip",
"json",
"stream",
"cookies",
"gzip",
] }
rsa = { version = "0.9.6", features = ["sha2"] }
sea-orm = { version = "0.12", features = [
"sqlx-sqlite",
"runtime-tokio-native-tls",
"macros",
"sqlx-sqlite",
"runtime-tokio-native-tls",
"macros",
] }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0"