Skip to main content

extract_absolute_links

Function extract_absolute_links 

Source
pub fn extract_absolute_links(
    html_content: &str,
    selector: &str,
    selector_type: LinkSelectorType,
    base_url: &str,
) -> Result<Vec<String>>
Expand description

提取并解析为绝对 URL,自动去重和过滤非页面链接。