diff --git a/sickbeard/providers/generic.py b/sickbeard/providers/generic.py index 61703ab7..b81d616b 100644 --- a/sickbeard/providers/generic.py +++ b/sickbeard/providers/generic.py @@ -922,7 +922,6 @@ class TorrentProvider(object, GenericProvider): if self.password not in post_params.values(): post_params['password'] = self.password - response = helpers.getURL(url, post_data=post_params, session=self.session, timeout=timeout) if response: if logged_in(response): diff --git a/sickbeard/providers/iptorrents.py b/sickbeard/providers/iptorrents.py index 8abc5576..b6417c45 100644 --- a/sickbeard/providers/iptorrents.py +++ b/sickbeard/providers/iptorrents.py @@ -44,10 +44,14 @@ class IPTorrentsProvider(generic.TorrentProvider): def _authorised(self, **kwargs): return super(IPTorrentsProvider, self)._authorised( - logged_in=(lambda x=None: (None is x or 'RSS Link' in x) and self.has_all_cookies() and + logged_in=(lambda x='': ('RSS Link' in x) and self.has_all_cookies() and self.session.cookies['uid'] in self.digest and self.session.cookies['pass'] in self.digest), failed_msg=(lambda x=None: u'Invalid cookie details for %s. Check settings')) + @staticmethod + def _has_signature(data=None): + return generic.TorrentProvider._has_signature(data) or (data and re.search(r'(?i)