summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FastixRu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-18 16:07:21 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-18 16:07:21 +0100
commit4e9c8f7ab1269966a9eac9e1b6363f5458f9f970 (patch)
tree82f54383c4f5a341ff43c06bb51e6309987c22ad /module/plugins/hoster/FastixRu.py
parentUpdate account plugins (diff)
downloadpyload-4e9c8f7ab1269966a9eac9e1b6363f5458f9f970.tar.xz
Update checkFile routine in some hoster plugins
Diffstat (limited to 'module/plugins/hoster/FastixRu.py')
-rw-r--r--module/plugins/hoster/FastixRu.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/FastixRu.py b/module/plugins/hoster/FastixRu.py
index 56d1e911a..8778d770e 100644
--- a/module/plugins/hoster/FastixRu.py
+++ b/module/plugins/hoster/FastixRu.py
@@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class FastixRu(SimpleHoster):
__name__ = "FastixRu"
__type__ = "hoster"
- __version__ = "0.05"
+ __version__ = "0.06"
__pattern__ = r'http://(?:www\.)?fastix\.(ru|it)/file/(?P<ID>\w{24})'
@@ -63,13 +63,10 @@ class FastixRu(SimpleHoster):
def checkFile(self):
- check = self.checkDownload({"error": "<title>An error occurred while processing your request</title>",
- "empty": re.compile(r"^$")})
+ super(FastixRu, self).checkFile()
- if check == "error":
+ if self.checkDownload({"error": "<title>An error occurred while processing your request</title>"}) is "error":
self.retry(wait_time=60, reason=_("An error occurred while generating link"))
- elif check == "empty":
- self.retry(wait_time=60, reason=_("Downloaded File was empty"))
getInfo = create_getInfo(FastixRu)