summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/AndroidfilehostCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-09 17:42:31 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-09 17:42:31 +0100
commit6616c00ba1c40f5d56959bd0e4725f26250e1292 (patch)
tree17ca0a420cf6c104c9a78a0d31d7a81fc7270f5c /module/plugins/hoster/AndroidfilehostCom.py
parent[CaptchaService] Cleanup (diff)
downloadpyload-6616c00ba1c40f5d56959bd0e4725f26250e1292.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/AndroidfilehostCom.py')
-rw-r--r--module/plugins/hoster/AndroidfilehostCom.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/hoster/AndroidfilehostCom.py b/module/plugins/hoster/AndroidfilehostCom.py
index 9793dd795..b6e43d632 100644
--- a/module/plugins/hoster/AndroidfilehostCom.py
+++ b/module/plugins/hoster/AndroidfilehostCom.py
@@ -48,9 +48,9 @@ class AndroidfilehostCom(SimpleHoster):
'fid' : fid},
decode=True)
- mirror = re.findall('"url":"(.*?)"', html)[0].replace("\\", "")
- mirror_host = mirror.split("/")[2]
- self.logDebug("DL-URL: %s" % mirror)
+ self.link = re.findall('"url":"(.*?)"', html)[0].replace("\\", "")
+ mirror_host = self.link.split("/")[2]
+
self.logDebug("Mirror Host: %s" % mirror_host)
html = self.load("https://www.androidfilehost.com/libs/otf/stats.otf.php",
@@ -59,7 +59,5 @@ class AndroidfilehostCom(SimpleHoster):
'mirror': mirror_host},
decode=True)
- self.download(mirror, disposition=True)
-
getInfo = create_getInfo(AndroidfilehostCom)