From a0805f27015748638a5fb05fd55b746852c53362 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 15 Jun 2011 17:35:48 +0200 Subject: html_unescape function, little plugin improvements --- module/plugins/hoster/FreakshareCom.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'module/plugins/hoster/FreakshareCom.py') 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): -- cgit v1.2.3