mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-05-13 17:02:36 +02:00
fix: use resolved config in raw_html selector guard; remove dead path_prefix fallback
This commit is contained in:
parent
bac13fc1b5
commit
f22051491f
2 changed files with 2 additions and 2 deletions
|
|
@ -2350,7 +2350,7 @@ async fn main() {
|
|||
}
|
||||
|
||||
// --raw-html: skip extraction, dump the fetched HTML
|
||||
if cli.raw_html && cli.include.is_none() && cli.exclude.is_none() {
|
||||
if resolved.raw_html && resolved.include_selectors.is_empty() && resolved.exclude_selectors.is_empty() {
|
||||
match fetch_html(&cli, &resolved).await {
|
||||
Ok(r) => println!("{}", r.html),
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue