Skip to main content

clean

Function clean 

Source
pub fn clean(u: &mut Url)
Expand description

清洗一个发现的 URL:去 fragment、路径里的会话参数、跟踪和会话查询参数、路径里多余的 /。 其余查询参数保持原有顺序(排序只用于去重键,见 crawl::normalize)。