From 992e86ec94bebabe2ba90142572f65ef7a792edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 12 Oct 2023 21:37:10 +0200 Subject: [PATCH] [deviantart] disable 'jwt' (#4652) --- docs/configuration.rst | 4 +++- docs/gallery-dl.conf | 2 +- gallery_dl/extractor/deviantart.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 5988d7be..2c6c6809 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -1354,12 +1354,14 @@ extractor.deviantart.jwt Type ``bool`` Default - ``true`` + ``false`` Description Update `JSON Web Tokens `__ (the ``token`` URL parameter) of otherwise non-downloadable, low-resolution images to be able to download them in full resolution. + Note: No longer functional as of 2023-10-11 + extractor.deviantart.mature --------------------------- diff --git a/docs/gallery-dl.conf b/docs/gallery-dl.conf index 2eac0a1c..9f126524 100644 --- a/docs/gallery-dl.conf +++ b/docs/gallery-dl.conf @@ -85,7 +85,7 @@ "group": true, "include": "gallery", "journals": "html", - "jwt": true, + "jwt": false, "mature": true, "metadata": false, "original": true, diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py index 94210967..69953adb 100644 --- a/gallery_dl/extractor/deviantart.py +++ b/gallery_dl/extractor/deviantart.py @@ -42,7 +42,7 @@ class DeviantartExtractor(Extractor): self.offset = 0 def _init(self): - self.jwt = self.config("jwt", True) + self.jwt = self.config("jwt", False) self.flat = self.config("flat", True) self.extra = self.config("extra", False) self.quality = self.config("quality", "100")