summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/pictoa.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/pictoa.py')
-rw-r--r--gallery_dl/extractor/pictoa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/pictoa.py b/gallery_dl/extractor/pictoa.py
index 0dfe304..e358541 100644
--- a/gallery_dl/extractor/pictoa.py
+++ b/gallery_dl/extractor/pictoa.py
@@ -24,7 +24,7 @@ class PictoaExtractor(Extractor):
class PictoaImageExtractor(PictoaExtractor):
"""Extractor for single images from pictoa.com"""
subcategory = "image"
- pattern = rf"{BASE_PATTERN}/albums/(?:[\w-]+-)?(\d+)/(\d+)"
+ pattern = BASE_PATTERN + r"/albums/(?:[\w-]+-)?(\d+)/(\d+)"
example = "https://www.pictoa.com/albums/NAME-12345/12345.html"
def items(self):
@@ -50,7 +50,7 @@ class PictoaImageExtractor(PictoaExtractor):
class PictoaAlbumExtractor(PictoaExtractor):
"""Extractor for image albums from pictoa.com"""
subcategory = "album"
- pattern = rf"{BASE_PATTERN}/albums/(?:[\w-]+-)?(\d+).html"
+ pattern = BASE_PATTERN + r"/albums/(?:[\w-]+-)?(\d+).html"
example = "https://www.pictoa.com/albums/NAME-12345.html"
def items(self):