Repos / pytaku / 2471fdfcbf
commit 2471fdfcbf118982f6a5a217169be48688b83648
Author: Bùi Thành Nhân <hi@imnhan.com>
Date: Sat Dec 26 20:00:07 2020 +0700
mangasee has new img domain
hopefully this doesn't become a habit
diff --git a/pyproject.toml b/pyproject.toml
index 6880fc8..6e5a3db 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytaku"
-version = "0.3.26"
+version = "0.3.27"
description = "Self-hostable web-based manga reader"
authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
license = "AGPL-3.0-only"
diff --git a/src/pytaku/main.py b/src/pytaku/main.py
index 0ec696a..7cf1df5 100644
--- a/src/pytaku/main.py
+++ b/src/pytaku/main.py
@@ -75,7 +75,7 @@ def _is_manga_img_url(
url,
pattern=re.compile(
r"^https://("
- r"([\w-]+\.)?(mangadex\.org/(data|images)|mangabeast\d{0,4}.com/manga)/"
+ r"([\w-]+\.)?(mangadex\.org/(data|images)|(mangabeast\d{0,4}.com|hot\.granpulse\.us)/manga)/"
r"|"
r"([\w-]+\.)+mangadex\.network:\d{2,6}/[\w-]+/data/"
r")"