aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/due/html.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/due/html.py b/src/due/html.py
index 6162422..e10bf0e 100644
--- a/src/due/html.py
+++ b/src/due/html.py
@@ -24,7 +24,9 @@ def seen(element, manga=False):
return 0
available_matches = re.findall(r"\d+\]|\[\d+", element)
- seen_matches = re.search(r"\s(\d+)/((\d+)|(\?))\s", element)
+ seen_matches = re.search(
+ r"\s(\d+)*?(<span style=\"opacity: 50%\">/(\d+)</span>)*\s", element
+ )
if seen_matches:
read = int(seen_matches.group(1))