diff options
| author | 2026-01-06 04:24:52 -0500 | |
|---|---|---|
| committer | 2026-01-06 04:24:52 -0500 | |
| commit | 385e4bfb1e426d23417ac788a6f44d639e226c89 (patch) | |
| tree | e64f04e19d63014d48e3b5272ce112c637236ba7 /gallery_dl/extractor/myhentaigallery.py | |
| parent | a24ec1647aeac35a63b744ea856011ad6e06be3b (diff) | |
New upstream version 1.31.2.upstream/1.31.2upstream
Diffstat (limited to 'gallery_dl/extractor/myhentaigallery.py')
| -rw-r--r-- | gallery_dl/extractor/myhentaigallery.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/myhentaigallery.py b/gallery_dl/extractor/myhentaigallery.py index 936f857..b94a73f 100644 --- a/gallery_dl/extractor/myhentaigallery.py +++ b/gallery_dl/extractor/myhentaigallery.py @@ -20,7 +20,7 @@ class MyhentaigalleryBase(): class MyhentaigalleryGalleryExtractor(MyhentaigalleryBase, GalleryExtractor): """Extractor for image galleries from myhentaigallery.com""" directory_fmt = ("{category}", "{gallery_id} {artist:?[/] /J, }{title}") - pattern = rf"{BASE_PATTERN}/g(?:allery/(?:thumbnails|show))?/(\d+)" + pattern = BASE_PATTERN + r"/g(?:allery/(?:thumbnails|show))?/(\d+)" example = "https://myhentaigallery.com/g/12345" def __init__(self, match): @@ -62,7 +62,7 @@ class MyhentaigalleryGalleryExtractor(MyhentaigalleryBase, GalleryExtractor): class MyhentaigalleryTagExtractor(MyhentaigalleryBase, Extractor): """Extractor for myhentaigallery tag searches""" subcategory = "tag" - pattern = rf"{BASE_PATTERN}(/g/(artist|category|group|parody)/(\d+).*)" + pattern = BASE_PATTERN + r"(/g/(artist|category|group|parody)/(\d+).*)" example = "https://myhentaigallery.com/g/category/123" def items(self): |
