From 99ef0a5f85b1354c4283b344cf56b1aebccd22f2 Mon Sep 17 00:00:00 2001 From: talwat <83217276+talwat@users.noreply.github.com> Date: Sat, 27 Dec 2025 11:22:43 +0100 Subject: [PATCH] fix: scrape command --- src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 14d24dd..0c3ab6c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,13 +111,13 @@ async fn main() -> eyre::Result<()> { #[cfg(feature = "scrape")] if let Some(command) = &args.command { - match command { + return match command { Commands::Scrape { source } => match source { - Source::Archive => scrapers::archive::scrape().await?, - Source::Lofigirl => scrapers::lofigirl::scrape().await?, - Source::Chillhop => scrapers::chillhop::scrape().await?, + Source::Archive => scrapers::archive::scrape().await, + Source::Lofigirl => scrapers::lofigirl::scrape().await, + Source::Chillhop => scrapers::chillhop::scrape().await, }, - } + }; } let stream = audio::stream()?;