sax parser for epg data

This commit is contained in:
euzu
2024-08-23 16:37:48 +02:00
parent 4c73426457
commit 014b85b03b
8 changed files with 675 additions and 415 deletions
-1
View File
@@ -11,7 +11,6 @@ static EPG_ID: &str = "id";
pub(crate) fn parse_tvguide(content: &str) -> Option<TVGuide> {
let mut stack: Vec<XmlTag> = vec![];
let mut reader = Reader::from_str(content);
reader.trim_text(true);
let mut buf = Vec::<u8>::new();
loop {
match reader.read_event_into(&mut buf) {