add ugb
Some checks failed
CI/CD Pipeline / test (push) Failing after 1m59s

This commit is contained in:
2024-03-15 21:31:39 +01:00
parent cb55a074d7
commit 402973f309
2 changed files with 66 additions and 0 deletions

View File

@ -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}', " ");