summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreakshareCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-15 17:35:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-06-15 17:35:48 +0200
commita0805f27015748638a5fb05fd55b746852c53362 (patch)
tree1f56b476ae3ce998f62abe1617303319b04f1c3f /module/plugins/hoster/FreakshareCom.py
parenthagg's rapidshare patch (diff)
downloadpyload-a0805f27015748638a5fb05fd55b746852c53362.tar.xz
html_unescape function, little plugin improvements
Diffstat (limited to 'module/plugins/hoster/FreakshareCom.py')
-rw-r--r--module/plugins/hoster/FreakshareCom.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/plugins/hoster/FreakshareCom.py b/module/plugins/hoster/FreakshareCom.py
index c20206bf5..869b8a99e 100644
--- a/module/plugins/hoster/FreakshareCom.py
+++ b/module/plugins/hoster/FreakshareCom.py
@@ -34,6 +34,11 @@ class FreakshareCom(Hoster):
self.get_file_url()
self.download(self.pyfile.url, post=self.req_opts)
+
+
+ check = self.checkDownload({"bad": "bad try"})
+ if check == "bad":
+ self.fail("Bad Try.")
def prepare(self):