diff options
author | 2015-07-24 06:55:49 +0200 | |
---|---|---|
committer | 2015-07-24 06:55:49 +0200 | |
commit | 94d017cd2a5c1f194960827a8c7e46afc3682008 (patch) | |
tree | e06f2d20d6c4cfa2cefb446c3b266cc3c1aa4e69 /module/plugins/hoster/FreakshareCom.py | |
parent | Hotfixes (diff) | |
download | pyload-94d017cd2a5c1f194960827a8c7e46afc3682008.tar.xz |
Hotfixes (2)
Diffstat (limited to 'module/plugins/hoster/FreakshareCom.py')
-rw-r--r-- | module/plugins/hoster/FreakshareCom.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/FreakshareCom.py b/module/plugins/hoster/FreakshareCom.py index a80c71b67..4564ee03e 100644 --- a/module/plugins/hoster/FreakshareCom.py +++ b/module/plugins/hoster/FreakshareCom.py @@ -11,7 +11,7 @@ class FreakshareCom(Hoster): __name__ = "FreakshareCom" __type__ = "hoster" __version__ = "0.43" - __status__ = "stable" + __status__ = "testing" __pattern__ = r'http://(?:www\.)?freakshare\.(net|com)/files/\S*?/' @@ -24,7 +24,7 @@ class FreakshareCom(Hoster): def setup(self): - self.multi_dl = False + self.multiDL = False self.req_opts = [] @@ -97,7 +97,7 @@ class FreakshareCom(Hoster): """ if not self.html: self.download_html() - if not self.want_reconnect: + if not self.wantReconnect: self.req_opts = self.get_download_options() #: Get the Post options for the Request # file_url = self.pyfile.url # return file_url @@ -109,7 +109,7 @@ class FreakshareCom(Hoster): if not self.html: self.download_html() - if not self.want_reconnect: + if not self.wantReconnect: m = re.search(r"<h1\sclass=\"box_heading\"\sstyle=\"text-align:center;\">([^ ]+)", self.html) if m: file_name = m.group(1) @@ -126,7 +126,7 @@ class FreakshareCom(Hoster): if not self.html: self.download_html() - if not self.want_reconnect: + if not self.wantReconnect: m = re.search(r"<h1\sclass=\"box_heading\"\sstyle=\"text-align:center;\">[^ ]+ - ([^ ]+) (\w\w)yte", self.html) if m: units = float(m.group(1).replace(",", "")) @@ -141,7 +141,7 @@ class FreakshareCom(Hoster): self.download_html() if "Your Traffic is used up for today" in self.html: - self.want_reconnect = True + self.wantReconnect = True return seconds_to_midnight(gmt=2) timestring = re.search('\s*var\s(?:downloadWait|time)\s=\s(\d*)[\d.]*;', self.html) |