diff options
author | Jeix <devnull@localhost> | 2010-09-08 17:17:45 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-09-08 17:17:45 +0200 |
commit | fa992a369dc83edc115b785f336784a8451033ec (patch) | |
tree | 3290d4ddc5d8ca978b89e11fa4cbb934f0cb9b0a /module/plugins/hoster/FreakshareNet.py | |
parent | corrected ssl instructions (diff) | |
download | pyload-fa992a369dc83edc115b785f336784a8451033ec.tar.xz |
depositfiles premium fix and freakshare fix
Diffstat (limited to 'module/plugins/hoster/FreakshareNet.py')
-rw-r--r-- | module/plugins/hoster/FreakshareNet.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/hoster/FreakshareNet.py b/module/plugins/hoster/FreakshareNet.py index 76a906ad2..50c5c0941 100644 --- a/module/plugins/hoster/FreakshareNet.py +++ b/module/plugins/hoster/FreakshareNet.py @@ -10,7 +10,7 @@ class FreakshareNet(Hoster): __name__ = "FreakshareNet" __type__ = "hoster" __pattern__ = r"http://(?:www\.)?freakshare\.net/files/\S*?/" - __version__ = "0.2" + __version__ = "0.3" __description__ = """Freakshare.com Download Hoster""" __author_name__ = ("sitacuisses","spoob","mkaay") __author_mail__ = ("sitacuisses@yahoo.de","spoob@pyload.org","mkaay@mkaay.de") @@ -75,6 +75,11 @@ class FreakshareNet(Hoster): def get_waiting_time(self): if self.html is None: self.download_html() + + if "Der Traffic f\xc3\xbcr heute ist verbraucht!" in self.html: + self.wantReconnect = True + return 24*3600 + timestring = re.search('\s*var\stime\s=\s(\d*?)\.\d*;', self.html).group(1) if timestring: sec = int(timestring) + 1 #add 1 sec as tenths of seconds are cut off |