summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FastshareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 22:42:32 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 22:42:32 +0100
commit1f8ae39acba53cebb46331692515f2ed42f8e12d (patch)
tree7a9ddaf8cb6bda98f5c619764bf30a81540a2251 /module/plugins/hoster/FastshareCz.py
parent[FilerNet] Fix https://github.com/pyload/pyload/issues/1201 (diff)
downloadpyload-1f8ae39acba53cebb46331692515f2ed42f8e12d.tar.xz
Update plugins after SimpleHoster changes
Diffstat (limited to 'module/plugins/hoster/FastshareCz.py')
-rw-r--r--module/plugins/hoster/FastshareCz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/FastshareCz.py b/module/plugins/hoster/FastshareCz.py
index 6fe871ad4..626521ed2 100644
--- a/module/plugins/hoster/FastshareCz.py
+++ b/module/plugins/hoster/FastshareCz.py
@@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class FastshareCz(SimpleHoster):
__name__ = "FastshareCz"
__type__ = "hoster"
- __version__ = "0.27"
+ __version__ = "0.28"
__pattern__ = r'http://(?:www\.)?fastshare\.cz/\d+/.+'
@@ -57,7 +57,7 @@ class FastshareCz(SimpleHoster):
self.download(urljoin(baseurl, action), post={'code': captcha, 'btn.x': 77, 'btn.y': 18})
- def checkFile(self):
+ def checkFile(self, rules={}):
check = self.checkDownload({
'paralell-dl' : re.compile(r"<title>FastShare.cz</title>|<script>alert\('Pres FREE muzete stahovat jen jeden soubor najednou.'\)"),
'wrong captcha': re.compile(r'Download for FREE'),
@@ -73,7 +73,7 @@ class FastshareCz(SimpleHoster):
elif check == "credit":
self.resetAccount()
- return super(FastshareCz, self).checkFile()
+ return super(FastshareCz, self).checkFile(rules)
getInfo = create_getInfo(FastshareCz)