mirror of
https://github.com/lanyeeee/bilibili-video-downloader.git
synced 2026-05-06 20:02:57 +08:00
fix: 修复获取视频链接时偶发http状态码为412的问题
This commit is contained in:
@@ -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(';'))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user