From c304860c5360b2e9fa118717a639c28578e5a27e Mon Sep 17 00:00:00 2001 From: Dario Date: Mon, 23 Jul 2018 18:55:59 +0200 Subject: [PATCH] Fix Abnormal provider login check. Fixes #4724 (#4727) * Fix Abnormal provider login check. Fixes #4724 * Update CHANGELOG.md --- CHANGELOG.md | 2 ++ medusa/providers/torrent/html/abnormal.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa9e5db84b..83e6c67638 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,8 @@ - Fixed unhandled request error on Add Existing Show ([#4639](https://github.com/pymedusa/Medusa/pull/4639)) - Fixed Telegram & Growl message encoding ([#4657](https://github.com/pymedusa/Medusa/pull/4657)) - Fixed being unable to change scene numbering for first 2 episodes of each season on displayShow ([#4656](https://github.com/pymedusa/Medusa/pull/4656)) +- Fixed YggTorrents provider downloads by updating the provider's URL ([#4725](https://github.com/pymedusa/Medusa/pull/4725)) +- Fixed Abnormal provider login check ([#4727](https://github.com/pymedusa/Medusa/pull/4727)) - _Simple message describing the fix, and a link to the pull request._ ### [**Previous versions**](https://github.com/pymedusa/medusa.github.io/blob/master/news/CHANGES.md) diff --git a/medusa/providers/torrent/html/abnormal.py b/medusa/providers/torrent/html/abnormal.py index 557581cdbc..c8af8e923c 100644 --- a/medusa/providers/torrent/html/abnormal.py +++ b/medusa/providers/torrent/html/abnormal.py @@ -189,7 +189,7 @@ def login(self): log.warning('Unable to connect to provider') return False - if not re.search('torrents.php', response.text): + if "Votre nom d'utilisateur ou mot de passe est incorrect." in response.text: log.warning('Invalid username or password. Check your settings') return False