diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index e10a348..11582b8 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -7,16 +7,6 @@ on: jobs: Test: runs-on: cimaster-latest - services: - warpproxy: - image: thetadev256/warpproxy - env: - WARP_DEVICE_ID: ${{ secrets.WARP_DEVICE_ID }} - WARP_ACCESS_TOKEN: ${{ secrets.WARP_ACCESS_TOKEN }} - WARP_LICENSE_KEY: ${{ secrets.WARP_LICENSE_KEY }} - WARP_PRIVATE_KEY: ${{ secrets.WARP_PRIVATE_KEY }} - env: - ALL_PROXY: "http://warpproxy:8124" steps: - name: 📦 Checkout repository uses: actions/checkout@v4 diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c8196c1..6f68f47 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -11,7 +11,7 @@ categories.workspace = true description = "CLI for RustyPipe - download videos and extract data from YouTube / YouTube Music" [features] -default = ["native-tls"] +default = ["rustls-tls-native-roots"] # Reqwest TLS options native-tls = [ diff --git a/cli/src/main.rs b/cli/src/main.rs index 96e3925..9458e81 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -519,7 +519,8 @@ impl std::io::Write for ProgWriter { #[tokio::main] async fn main() { if let Err(e) = run().await { - println!("{} {}", "Error:".red().bold(), e); + println!("{}", "Error:".red().bold()); + println!("{}", e); std::process::exit(1); } } diff --git a/src/client/player.rs b/src/client/player.rs index 430d33c..b78a15c 100644 --- a/src/client/player.rs +++ b/src/client/player.rs @@ -221,7 +221,6 @@ impl MapResponse for response::Player { .find_map(|word| match word { "age" | "inappropriate" => Some(UnavailabilityReason::AgeRestricted), "private" => Some(UnavailabilityReason::Private), - "bot" => Some(UnavailabilityReason::IpBan), _ => None, }) .unwrap_or_default();