summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/wikifeet.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/wikifeet.py')
-rw-r--r--gallery_dl/extractor/wikifeet.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gallery_dl/extractor/wikifeet.py b/gallery_dl/extractor/wikifeet.py
index 70e9646..662e08b 100644
--- a/gallery_dl/extractor/wikifeet.py
+++ b/gallery_dl/extractor/wikifeet.py
@@ -7,8 +7,7 @@
"""Extractors for https://www.wikifeet.com/"""
from .common import GalleryExtractor
-from .. import text
-import json
+from .. import text, util
class WikifeetGalleryExtractor(GalleryExtractor):
@@ -114,5 +113,5 @@ class WikifeetGalleryExtractor(GalleryExtractor):
"height": data["ph"],
"tags" : [tagmap[tag] for tag in data["tags"]],
})
- for data in json.loads(text.extr(page, "['gdata'] = ", ";"))
+ for data in util.json_loads(text.extr(page, "['gdata'] = ", ";"))
]