[exception] rename 'LoginRequired' to 'AuthRequired'

This commit is contained in:
Mike Fährmann
2025-07-20 22:02:52 +02:00
parent 668556251c
commit f0de034889
6 changed files with 19 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ class MadokamiMangaExtractor(MadokamiExtractor):
def items(self):
username, password = self._get_auth_info()
if not username:
raise exception.LoginRequired("Missing 'username' & 'password'")
raise exception.AuthRequired("'username' & 'password'")
self.session.auth = util.HTTPBasicAuth(username, password)
url = f"{self.root}/Manga/{self.groups[0]}"