fix: scrape command

This commit is contained in:
talwat 2025-12-27 11:22:43 +01:00
parent 7fa9a712a9
commit 99ef0a5f85

View File

@ -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()?;