diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/CatShareNet.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/CatShareNet.py b/module/plugins/hoster/CatShareNet.py index 125e63481..bda9d27ae 100644 --- a/module/plugins/hoster/CatShareNet.py +++ b/module/plugins/hoster/CatShareNet.py @@ -9,7 +9,7 @@ from module.plugins.internal.CaptchaService import ReCaptcha class CatShareNet(SimpleHoster): __name__ = "CatShareNet" __type__ = "hoster" - __version__ = "0.11" + __version__ = "0.12" __pattern__ = r'http://(?:www\.)?catshare\.net/\w{16}' @@ -36,11 +36,12 @@ class CatShareNet(SimpleHoster): self.resumeDownload = True - def getFileInfo(self): + def checkErrors(self): m = re.search(self.IP_BLOCKED_PATTERN, self.html) if m: self.fail(_("Only connections from Polish IP address are allowed")) - return super(CatShareNet, self).getFileInfo() + + return super(CatShareNet, self).checkErrors() def handleFree(self, pyfile): |