summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/AndroidfilehostCom.py
diff options
context:
space:
mode:
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)