diff --git a/src/application/parsers/fb2.rs b/src/application/parsers/fb2.rs index ce0d4b1..6ff03e1 100644 --- a/src/application/parsers/fb2.rs +++ b/src/application/parsers/fb2.rs @@ -255,5 +255,7 @@ pub fn parse_with_reader(reader: R, path: &Path) -> Result buf.clear(); } + book.author.dedup_by(|a, b| a.uniq_id() == b.uniq_id()); + Ok(vec![book]) }