From 6616c00ba1c40f5d56959bd0e4725f26250e1292 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 9 Feb 2015 17:42:31 +0100 Subject: Spare code cosmetics --- module/plugins/hoster/AndroidfilehostCom.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'module/plugins/hoster/AndroidfilehostCom.py') 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) -- cgit v1.2.3