From 1f02878351731c207b51a17dc528ef0a47d726bc Mon Sep 17 00:00:00 2001 From: "James C. Wise" Date: Mon, 16 Aug 2021 16:50:53 -0400 Subject: [PATCH] [Deviantart] [#1776] Remove the "you need session cookies to download mature scraps" warning (#1777) --- gallery_dl/extractor/deviantart.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py index 0071f68d..fbc03d44 100644 --- a/gallery_dl/extractor/deviantart.py +++ b/gallery_dl/extractor/deviantart.py @@ -889,15 +889,9 @@ class DeviantartScrapsExtractor(DeviantartExtractor): ) cookiedomain = ".deviantart.com" cookienames = ("auth", "auth_secure", "userinfo") - _warning = True def deviations(self): eclipse_api = DeviantartEclipseAPI(self) - if self._warning: - DeviantartScrapsExtractor._warning = False - if not self._check_cookies(self.cookienames): - self.log.warning( - "No session cookies set: Unable to fetch mature scraps.") for obj in eclipse_api.gallery_scraps(self.user, self.offset): deviation = obj["deviation"]