summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/shimmie2.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/shimmie2.py')
-rw-r--r--gallery_dl/extractor/shimmie2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/shimmie2.py b/gallery_dl/extractor/shimmie2.py
index 5572b4d..e2e1c6f 100644
--- a/gallery_dl/extractor/shimmie2.py
+++ b/gallery_dl/extractor/shimmie2.py
@@ -100,7 +100,7 @@ class Shimmie2TagExtractor(Shimmie2Extractor):
subcategory = "tag"
directory_fmt = ("{category}", "{search_tags}")
file_url_fmt = "{}/_images/{}/{}%20-%20{}.{}"
- pattern = rf"{BASE_PATTERN}post/list/([^/?#]+)(?:/(\d+))?"
+ pattern = BASE_PATTERN + r"post/list/([^/?#]+)(?:/(\d+))?"
example = "https://vidya.pics/post/list/TAG/1"
def metadata(self):
@@ -164,7 +164,7 @@ class Shimmie2TagExtractor(Shimmie2Extractor):
class Shimmie2PostExtractor(Shimmie2Extractor):
"""Extractor for single shimmie2 posts"""
subcategory = "post"
- pattern = rf"{BASE_PATTERN}post/view/(\d+)"
+ pattern = BASE_PATTERN + r"post/view/(\d+)"
example = "https://vidya.pics/post/view/12345"
def posts(self):