Updated readme for setup calibre binaries

Added h tags to recognized tags for sanitizing comments
Avoid depreciation warning in lubimyczytac
Removed some unsed imports
This commit is contained in:
Ozzie Isaacs
2024-07-08 12:34:10 +02:00
parent 53a16c5a6f
commit bc1c097271
5 changed files with 5 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ class LubimyCzytac(Metadata):
def _prepare_query(self, title: str) -> str:
query = ""
characters_to_remove = "\?()\/"
characters_to_remove = r"\?()\/"
pattern = "[" + characters_to_remove + "]"
title = re.sub(pattern, "", title)
title = title.replace("_", " ")