Repos / pytaku / 9bf6a06b6c
commit 9bf6a06b6c2ca72ca28bdb8dbb5d238bd8aae176
Author: Bùi Thành Nhân <hi@imnhan.com>
Date: Mon Dec 28 12:27:57 2020 +0700
why so many domains goddammit
diff --git a/pyproject.toml b/pyproject.toml
index 6e5a3db..d6265a7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytaku"
-version = "0.3.27"
+version = "0.3.28"
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 7cf1df5..5efdd11 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|hot\.granpulse\.us)/manga)/"
+ r"([\w-]+\.)?(mangadex\.org/(data|images)|(mangabeast\d{0,4}.com|hot\.granpulse\.us|fan-official\.eorzea\.us)/manga)/"
r"|"
r"([\w-]+\.)+mangadex\.network:\d{2,6}/[\w-]+/data/"
r")"