From 5a364d34f757477d3cd43ca514400d88ae191349 Mon Sep 17 00:00:00 2001 From: amtoaer Date: Sat, 6 Apr 2024 02:05:54 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=20use?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bilibili/credential.rs | 10 ---------- src/bilibili/mod.rs | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/bilibili/credential.rs b/src/bilibili/credential.rs index f2fb33f..a1c8fbb 100644 --- a/src/bilibili/credential.rs +++ b/src/bilibili/credential.rs @@ -22,16 +22,6 @@ pub struct Credential { } impl Credential { - pub fn new(sessdata: String, bili_jct: String, buvid3: String, dedeuserid: String, ac_time_value: String) -> Self { - Self { - sessdata, - bili_jct, - buvid3, - dedeuserid, - ac_time_value, - } - } - const fn empty() -> Self { Self { sessdata: String::new(), diff --git a/src/bilibili/mod.rs b/src/bilibili/mod.rs index 7700cfe..bb36d8e 100644 --- a/src/bilibili/mod.rs +++ b/src/bilibili/mod.rs @@ -1,4 +1,4 @@ -pub use analyzer::{AudioQuality, BestStream, FilterOption, PageAnalyzer, VideoCodecs, VideoQuality}; +pub use analyzer::{BestStream, FilterOption}; pub use client::{BiliClient, Client}; pub use credential::Credential; pub use error::BiliError;