fix: 修复获取视频链接时偶发http状态码为412的问题

This commit is contained in:
lanyeeee
2025-11-30 21:40:59 +08:00
parent 8a498b0f6a
commit 7055dbac1f

View File

@@ -955,7 +955,7 @@ impl BiliClient {
pub fn get_cookie(&self) -> String {
let sessdata = self.app.get_config().read().sessdata.clone();
format!("SESSDATA={sessdata}")
format!("SESSDATA={}", sessdata.trim_end_matches(';'))
}
}