Compare commits

..

No commits in common. "eecc689ae030a895c9d5b8eba6526ff196d50781" and "03c4d3c392386e06f2673f0e0783e22d10087989" have entirely different histories.

4 changed files with 3 additions and 13 deletions

View file

@ -7,16 +7,6 @@ on:
jobs: jobs:
Test: Test:
runs-on: cimaster-latest 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: steps:
- name: 📦 Checkout repository - name: 📦 Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4

View file

@ -11,7 +11,7 @@ categories.workspace = true
description = "CLI for RustyPipe - download videos and extract data from YouTube / YouTube Music" description = "CLI for RustyPipe - download videos and extract data from YouTube / YouTube Music"
[features] [features]
default = ["native-tls"] default = ["rustls-tls-native-roots"]
# Reqwest TLS options # Reqwest TLS options
native-tls = [ native-tls = [

View file

@ -519,7 +519,8 @@ impl std::io::Write for ProgWriter {
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
if let Err(e) = run().await { if let Err(e) = run().await {
println!("{} {}", "Error:".red().bold(), e); println!("{}", "Error:".red().bold());
println!("{}", e);
std::process::exit(1); std::process::exit(1);
} }
} }

View file

@ -221,7 +221,6 @@ impl MapResponse<VideoPlayer> for response::Player {
.find_map(|word| match word { .find_map(|word| match word {
"age" | "inappropriate" => Some(UnavailabilityReason::AgeRestricted), "age" | "inappropriate" => Some(UnavailabilityReason::AgeRestricted),
"private" => Some(UnavailabilityReason::Private), "private" => Some(UnavailabilityReason::Private),
"bot" => Some(UnavailabilityReason::IpBan),
_ => None, _ => None,
}) })
.unwrap_or_default(); .unwrap_or_default();