|
|
@ -889,15 +889,9 @@ class DeviantartScrapsExtractor(DeviantartExtractor):
|
|
|
|
)
|
|
|
|
)
|
|
|
|
cookiedomain = ".deviantart.com"
|
|
|
|
cookiedomain = ".deviantart.com"
|
|
|
|
cookienames = ("auth", "auth_secure", "userinfo")
|
|
|
|
cookienames = ("auth", "auth_secure", "userinfo")
|
|
|
|
_warning = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def deviations(self):
|
|
|
|
def deviations(self):
|
|
|
|
eclipse_api = DeviantartEclipseAPI(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):
|
|
|
|
for obj in eclipse_api.gallery_scraps(self.user, self.offset):
|
|
|
|
deviation = obj["deviation"]
|
|
|
|
deviation = obj["deviation"]
|
|
|
|