mirror of
https://github.com/talwat/lowfi
synced 2025-12-31 11:03:21 +00:00
fix: scrape command
This commit is contained in:
parent
7fa9a712a9
commit
99ef0a5f85
10
src/main.rs
10
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()?;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user