mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-04-25 00:06:21 +02:00
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:
parent
7041a1d992
commit
20c810b8d2
3 changed files with 13 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue