Skip to content

Commit

Permalink
v2.5.24
Browse files Browse the repository at this point in the history
  • Loading branch information
zachstultz authored Nov 17, 2024
1 parent e435ee2 commit 80e3c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions komga_cover_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import settings as settings_file

# Version of the script
script_version = (2, 5, 23)
script_version = (2, 5, 24)
script_version_text = "v{}.{}.{}".format(*script_version)

# Paths = existing library
Expand Down Expand Up @@ -365,7 +365,7 @@ def __str__(self):
% (exclusion_keywords_joined, chapter_regex_keywords, manga_extensions_regex),
r"((?<!^)\b(\.)?\s*(%s)(\d+)([-_.]\d+)*((x|#)(\d+)([-_.]\d+)*)*\b)((\s+-|:)\s+).*?(?=\s*[\(\[\{](\d{4}|Digital)[\)\]\}])"
% exclusion_keywords_regex,
r"(\b(%s)?(\.)?\s*(%s)(\d+)([-_.]\d+)*(x\d+)?(#\d+([-_.]\d+)*)?\b)\s*((\[[^\]]*\]|\([^\)]*\)|\{[^}]*\})|((?<!\w(\s))|(?<!\w))(%s)(?!\w))"
r"(\b(%s)?(\.)?\s*((%s)(\d{1,2})|\d{3,})([-_.]\d+)*(x\d+)?(#\d+([-_.]\d+)*)?\b)\s*((\[[^\]]*\]|\([^\)]*\)|\{[^}]*\})|((?<!\w(\s))|(?<!\w))(%s)(?!\w))"
% (chapter_regex_keywords, exclusion_keywords_regex, file_extensions_regex),
r"^((#)?(\d+)([-_.]\d+)*((x|#)(\d+)([-_.]\d+)*)*)$",
]
Expand Down Expand Up @@ -5487,7 +5487,7 @@ def get_percent_and_print(existing_files, file, file_type=None):
if volume.file_type == "chapter":
messages_to_send.append(
NewReleaseNotification(
volume.volume_number,
volume.index_number,
title,
green_color,
fields,
Expand Down

0 comments on commit 80e3c87

Please sign in to comment.