[imgur] replace AuthorizationError exception with logging message

This commit is contained in:
Mike Fährmann
2025-02-15 15:36:39 +01:00
parent 182b544217
commit 046ebb5590

View File

@@ -183,7 +183,7 @@ class ImgurMeExtractor(ImgurExtractor):
def items(self):
if not self.cookies_check(("accesstoken",)):
raise exception.AuthorizationError("'accesstoken' cookie required")
self.log.error("'accesstoken' cookie required")
if self.groups[0]:
posts = self.api.accounts_me_hiddenalbums()