aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/photovogue.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/photovogue.py')
-rw-r--r--gallery_dl/extractor/photovogue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/photovogue.py b/gallery_dl/extractor/photovogue.py
index 2a2df5a..e604304 100644
--- a/gallery_dl/extractor/photovogue.py
+++ b/gallery_dl/extractor/photovogue.py
@@ -23,7 +23,7 @@ class PhotovogueUserExtractor(Extractor):
def __init__(self, match):
Extractor.__init__(self, match)
- self.user_id = match.group(1)
+ self.user_id = match[1]
def items(self):
for photo in self.photos():
@@ -45,7 +45,7 @@ class PhotovogueUserExtractor(Extractor):
}
while True:
- data = self.request(url, params=params).json()
+ data = self.request_json(url, params=params)
yield from data["items"]
if not data["has_next"]: