[Deviantart] [#1776] Remove the "you need session cookies to download mature scraps" warning (#1777)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user