From 684c8009bc6c66080eb1dcafd436e5aaacf5584d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Fri, 15 Nov 2019 12:38:34 -0500 Subject: [PATCH] Fix for Addic7ed. --- libs/subliminal_patch/providers/addic7ed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/subliminal_patch/providers/addic7ed.py b/libs/subliminal_patch/providers/addic7ed.py index ce41ebca0..880a4729c 100644 --- a/libs/subliminal_patch/providers/addic7ed.py +++ b/libs/subliminal_patch/providers/addic7ed.py @@ -145,7 +145,7 @@ class Addic7edProvider(_Addic7edProvider): if "relax, slow down" in r.text: raise TooManyRequests(self.username) - if "Wrong password" in r.content or "doesn't exist" in r.content: + if "Wrong password" in r.text or "doesn't exist" in r.text: raise AuthenticationError(self.username) if r.status_code != 302: