feat: Deduplicate fb2 authors
This commit is contained in:
@@ -255,5 +255,7 @@ pub fn parse_with_reader<R: BufRead>(reader: R, path: &Path) -> Result<Vec<Book>
|
|||||||
buf.clear();
|
buf.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
book.author.dedup_by(|a, b| a.uniq_id() == b.uniq_id());
|
||||||
|
|
||||||
Ok(vec![book])
|
Ok(vec![book])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user