summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/IfileIt.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
commitfcead1870013b6a970eca7878a66dbe783c80ea3 (patch)
tree9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/plugin/hoster/IfileIt.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
Diffstat (limited to 'pyload/plugin/hoster/IfileIt.py')
-rw-r--r--pyload/plugin/hoster/IfileIt.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/IfileIt.py b/pyload/plugin/hoster/IfileIt.py
index 1995b210f..8ccb35308 100644
--- a/pyload/plugin/hoster/IfileIt.py
+++ b/pyload/plugin/hoster/IfileIt.py
@@ -8,15 +8,15 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster, create_getInfo
class IfileIt(SimpleHoster):
- __name = "IfileIt"
- __type = "hoster"
- __version = "0.28"
+ __name__ = "IfileIt"
+ __type__ = "hoster"
+ __version__ = "0.28"
- __pattern = r'^unmatchable$'
+ __pattern__ = r'^unmatchable$'
- __description = """Ifile.it"""
- __license = "GPLv3"
- __authors = [("zoidberg", "zoidberg@mujmail.cz")]
+ __description__ = """Ifile.it"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
LINK_PATTERN = r'</span> If it doesn\'t, <a target="_blank" href="([^"]+)">'
@@ -27,7 +27,7 @@ class IfileIt(SimpleHoster):
def handleFree(self):
- ukey = re.match(self.__pattern, self.pyfile.url).group(1)
+ ukey = re.match(self.__pattern__, self.pyfile.url).group(1)
json_url = 'http://ifile.it/new_download-request.json'
post_data = {"ukey": ukey, "ab": "0"}
res = json_loads(self.load(json_url, post=post_data))