summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/pururin.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/pururin.py')
-rw-r--r--gallery_dl/extractor/pururin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/pururin.py b/gallery_dl/extractor/pururin.py
index dee7bd4..7e266cc 100644
--- a/gallery_dl/extractor/pururin.py
+++ b/gallery_dl/extractor/pururin.py
@@ -73,8 +73,8 @@ class PururinGalleryExtractor(GalleryExtractor):
url = "{}/read/{}/01/x".format(self.root, self.gallery_id)
page = self.request(url).text
- info = json.loads(binascii.a2b_base64(text.extract(
- page, '<gallery-read encoded="', '"')[0]).decode())
+ info = json.loads(binascii.a2b_base64(text.extr(
+ page, '<gallery-read encoded="', '"')).decode())
self._ext = info["image_extension"]
self._cnt = info["total_pages"]