Do not normalize series_name when a literal search is requested

This commit is contained in:
Timmy Welch 2023-12-17 19:14:38 -08:00
parent 564ce24988
commit 04b3b6b4ab

View File

@ -248,7 +248,12 @@ class ComicVineTalker(ComicTalker):
series_match_thresh: int = 90,
) -> list[ComicSeries]:
# Sanitize the series name for comicvine searching, comicvine search ignore symbols
search_series_name = utils.sanitize_title(series_name, literal)
search_series_name = utils.sanitize_title(series_name, basic=literal)
# A literal search was asked for, do not sanitize
if literal:
search_series_name = series_name
logger.info(f"{self.name} searching: {search_series_name}")
# Before we search online, look in our cache, since we might have done this same search recently