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 a8008cf..da252f3 100644
--- a/gallery_dl/extractor/pictoa.py
+++ b/gallery_dl/extractor/pictoa.py
@@ -30,7 +30,7 @@ class PictoaImageExtractor(PictoaExtractor):
def items(self):
album_id, image_id = self.groups
- url = "{}/albums/{}/{}.html".format(self.root, album_id, image_id)
+ url = f"{self.root}/albums/{album_id}/{image_id}.html"
page = self.request(url).text
album_title = text.extr(page, 'property="og:title" content="', '"')
image_url = text.extr(page, 'property="og:image" content="', '"')
@@ -55,7 +55,7 @@ class PictoaAlbumExtractor(PictoaExtractor):
def items(self):
album_id = self.groups[0]
- url = "{}/albums/{}.html".format(self.root, album_id)
+ url = f"{self.root}/albums/{album_id}.html"
page = self.request(url).text
album_data = {