aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/tmohentai.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/tmohentai.py')
-rw-r--r--gallery_dl/extractor/tmohentai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/tmohentai.py b/gallery_dl/extractor/tmohentai.py
index 873cce8..ef441d3 100644
--- a/gallery_dl/extractor/tmohentai.py
+++ b/gallery_dl/extractor/tmohentai.py
@@ -16,7 +16,7 @@ class TmohentaiGalleryExtractor(GalleryExtractor):
category = "tmohentai"
root = "http://tmohentai.com"
directory_fmt = ("{category}", "{title} ({gallery_id})")
- pattern = rf"{BASE_PATTERN}/(?:contents|reader)/(\w+)"
+ pattern = BASE_PATTERN + r"/(?:contents|reader)/(\w+)"
example = "https://tmohentai.com/contents/12345a67b89c0"
def __init__(self, match):