chore: bump v0.3.1, update CHANGELOG, fix fmt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Valerio 2026-03-30 14:11:54 +02:00
parent 7041a1d992
commit 20c810b8d2
3 changed files with 13 additions and 4 deletions

View file

@ -556,9 +556,9 @@ fn is_challenge_response(response: &webclaw_http::Response) -> bool {
/// Extract the homepage URL (scheme + host) from a full URL.
fn extract_homepage(url: &str) -> Option<String> {
url::Url::parse(url).ok().map(|u| {
format!("{}://{}/", u.scheme(), u.host_str().unwrap_or(""))
})
url::Url::parse(url)
.ok()
.map(|u| format!("{}://{}/", u.scheme(), u.host_str().unwrap_or("")))
}
/// Convert a webclaw-pdf PdfResult into a webclaw-core ExtractionResult.