diff --git a/quickpeep_raker/src/bin/qp-rake1.rs b/quickpeep_raker/src/bin/qp-rake1.rs index 64e2b66..7e738ed 100644 --- a/quickpeep_raker/src/bin/qp-rake1.rs +++ b/quickpeep_raker/src/bin/qp-rake1.rs @@ -76,7 +76,9 @@ pub async fn main() -> anyhow::Result<()> { page_extraction: PageExtractionService::new(adblock_engines)?, }; - let outcome = raker.rake(&opts.url, RakeIntent::Any, &client).await?; + let outcome = raker + .rake(&opts.url, opts.intent.unwrap_or(RakeIntent::Any), &client) + .await?; match outcome { RakeOutcome::RakedPage(page) => {