mirror of
https://github.com/talwat/lowfi
synced 2025-12-31 19:13: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")]
|
#[cfg(feature = "scrape")]
|
||||||
if let Some(command) = &args.command {
|
if let Some(command) = &args.command {
|
||||||
match command {
|
return match command {
|
||||||
Commands::Scrape { source } => match source {
|
Commands::Scrape { source } => match source {
|
||||||
Source::Archive => scrapers::archive::scrape().await?,
|
Source::Archive => scrapers::archive::scrape().await,
|
||||||
Source::Lofigirl => scrapers::lofigirl::scrape().await?,
|
Source::Lofigirl => scrapers::lofigirl::scrape().await,
|
||||||
Source::Chillhop => scrapers::chillhop::scrape().await?,
|
Source::Chillhop => scrapers::chillhop::scrape().await,
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
let stream = audio::stream()?;
|
let stream = audio::stream()?;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user