diff options
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/accounts/DebridItaliaCom.py | 2 | ||||
| -rw-r--r-- | module/plugins/accounts/FilerNet.py | 2 | ||||
| -rw-r--r-- | module/plugins/crypter/DuckCryptInfo.py | 4 | ||||
| -rw-r--r-- | module/plugins/crypter/SexuriaCom.py | 2 | ||||
| -rw-r--r-- | module/plugins/hoster/NowDownloadEu.py | 4 | ||||
| -rw-r--r-- | module/plugins/internal/CaptchaService.py | 14 | 
6 files changed, 14 insertions, 14 deletions
| diff --git a/module/plugins/accounts/DebridItaliaCom.py b/module/plugins/accounts/DebridItaliaCom.py index 48b46cc0b..631a2a316 100644 --- a/module/plugins/accounts/DebridItaliaCom.py +++ b/module/plugins/accounts/DebridItaliaCom.py @@ -30,7 +30,7 @@ class DebridItaliaCom(Account):              validuntil = int(time.mktime(time.strptime(m.group('D'), "%d/%m/%Y %H:%M")))              return {"premium": True, "validuntil": validuntil, "trafficleft": -1}          else: -            self.logError("Unable to retrieve account information - Plugin may be out of date") +            self.logError("Unable to retrieve account information")      def login(self, user, data, req): diff --git a/module/plugins/accounts/FilerNet.py b/module/plugins/accounts/FilerNet.py index 82f78ed0c..f89d7be2f 100644 --- a/module/plugins/accounts/FilerNet.py +++ b/module/plugins/accounts/FilerNet.py @@ -37,7 +37,7 @@ class FilerNet(Account):              trafficleft = parseFileSize(traffic.group(1))              return {"premium": True, "validuntil": validuntil, "trafficleft": trafficleft}          else: -            self.logError("Unable to retrieve account information - Plugin may be out of date") +            self.logError("Unable to retrieve account information")              return {"premium": False, "validuntil": None, "trafficleft": None} diff --git a/module/plugins/crypter/DuckCryptInfo.py b/module/plugins/crypter/DuckCryptInfo.py index ff7b0a07a..29eeb4453 100644 --- a/module/plugins/crypter/DuckCryptInfo.py +++ b/module/plugins/crypter/DuckCryptInfo.py @@ -42,7 +42,7 @@ class DuckCryptInfo(Crypter):          cryptlinks = soup.findAll("div", attrs={"class": "folderbox"})          self.logDebug("Redirectet to " + str(cryptlinks))          if not cryptlinks: -            self.fail('no links m - (Plugin out of date?)') +            self.error("no links m")          for clink in cryptlinks:              if clink.find("a"):                  self.handleLink(clink.find("a")['href']) @@ -52,4 +52,4 @@ class DuckCryptInfo(Crypter):          soup = BeautifulSoup(src)          self.urls = [soup.find("iframe")['src']]          if not self.urls: -            self.logDebug("No link found - (Plugin out of date?)") +            self.logInfo("No link found") diff --git a/module/plugins/crypter/SexuriaCom.py b/module/plugins/crypter/SexuriaCom.py index c7939e332..55b6adef4 100644 --- a/module/plugins/crypter/SexuriaCom.py +++ b/module/plugins/crypter/SexuriaCom.py @@ -92,7 +92,7 @@ class SexuriaCom(Crypter):          # Inform the user if no link could been extracted          if linklist == []: -            self.fail("Could not extract any links (out of date?)") +            self.error("Could not extract any links")          # Debug log          self.logDebug("%d supported links" % len(linklist)) diff --git a/module/plugins/hoster/NowDownloadEu.py b/module/plugins/hoster/NowDownloadEu.py index dcf13e678..57d31acd5 100644 --- a/module/plugins/hoster/NowDownloadEu.py +++ b/module/plugins/hoster/NowDownloadEu.py @@ -38,7 +38,7 @@ class NowDownloadEu(SimpleHoster):          tokenlink = re.search(self.TOKEN_PATTERN, self.html)          continuelink = re.search(self.CONTINUE_PATTERN, self.html)          if tokenlink is None or continuelink is None: -            self.fail('Plugin out of Date') +            self.error()          m = re.search(self.WAIT_PATTERN, self.html)          if m: @@ -54,7 +54,7 @@ class NowDownloadEu(SimpleHoster):          url = re.search(self.LINK_PATTERN, self.html)          if url is None: -            self.fail('Download Link not Found (Plugin out of Date?)') +            self.error("Download link not found")          self.logDebug("Download link", url.group(1))          self.download(str(url.group(1))) diff --git a/module/plugins/internal/CaptchaService.py b/module/plugins/internal/CaptchaService.py index b2b549617..203dda82e 100644 --- a/module/plugins/internal/CaptchaService.py +++ b/module/plugins/internal/CaptchaService.py @@ -7,7 +7,7 @@ from random import random  class CaptchaService:      __name__ = "CaptchaService" -    __version__ = "0.11" +    __version__ = "0.12"      __description__ = """Base captcha service plugin"""      __license__ = "GPLv3" @@ -52,7 +52,7 @@ class CaptchaService:  class ReCaptcha(CaptchaService):      __name__ = "ReCaptcha" -    __version__ = "0.04" +    __version__ = "0.05"      __description__ = """ReCaptcha captcha service plugin"""      __license__ = "GPLv3" @@ -99,7 +99,7 @@ class ReCaptcha(CaptchaService):              challenge = re.search("challenge : '(.+?)',", js).group(1)              server = re.search("server : '(.+?)',", js).group(1)          except: -            self.plugin.parseError("ReCaptcha challenge pattern not found") +            self.plugin.error("ReCaptcha challenge pattern not found")          result = self.result(server, challenge) @@ -113,7 +113,7 @@ class ReCaptcha(CaptchaService):  class AdsCaptcha(CaptchaService):      __name__ = "AdsCaptcha" -    __version__ = "0.02" +    __version__ = "0.03"      __description__ = """AdsCaptcha captcha service plugin"""      __license__ = "GPLv3" @@ -161,7 +161,7 @@ class AdsCaptcha(CaptchaService):              challenge = re.search("challenge: '(.+?)',", js).group(1)              server = re.search("server: '(.+?)',", js).group(1)          except: -            self.plugin.parseError("AdsCaptcha challenge pattern not found") +            self.plugin.error("AdsCaptcha challenge pattern not found")          result = self.result(server, challenge) @@ -175,7 +175,7 @@ class AdsCaptcha(CaptchaService):  class SolveMedia(CaptchaService):      __name__ = "SolveMedia" -    __version__ = "0.03" +    __version__ = "0.04"      __description__ = """SolveMedia captcha service plugin"""      __license__ = "GPLv3" @@ -200,7 +200,7 @@ class SolveMedia(CaptchaService):                                    html).group(1)              server = "http://api.solvemedia.com/papi/media"          except: -            self.plugin.parseError("SolveMedia challenge pattern not found") +            self.plugin.error("SolveMedia challenge pattern not found")          result = self.result(server, challenge) | 
