This commit is contained in:
@ -24,6 +24,7 @@ use std::{
|
||||
hash::{DefaultHasher, Hash, Hasher},
|
||||
path::Path,
|
||||
};
|
||||
use tracing::info;
|
||||
|
||||
use crate::{
|
||||
law,
|
||||
@ -124,6 +125,7 @@ impl Parser {
|
||||
/// );
|
||||
/// ```
|
||||
pub fn parse(&self, url: &str, builder: &mut law::Builder) -> Result<bool, Error> {
|
||||
info!("Parsing {url}");
|
||||
let xml = fetch(url)?;
|
||||
|
||||
let xml = xml.replace('\u{a0}', " ");
|
||||
|
Reference in New Issue
Block a user