From 5e13235acaf51ec6ded262bbb3773bc219666ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 14 Dec 2024 20:41:08 +0100 Subject: [PATCH] [zerochan] fix parsing regular JSON i.e. remove debug remains ... --- gallery_dl/extractor/zerochan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/zerochan.py b/gallery_dl/extractor/zerochan.py index e5fd634a..bc135ad0 100644 --- a/gallery_dl/extractor/zerochan.py +++ b/gallery_dl/extractor/zerochan.py @@ -95,7 +95,7 @@ class ZerochanExtractor(BooruExtractor): url = "{}/{}?json".format(self.root, entry_id) txt = self.request(url).text try: - item = util.json_loads('"' + txt) + item = util.json_loads(txt) except ValueError: item = self._parse_json(txt) item["id"] = text.parse_int(entry_id)