summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/AndroidfilehostCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-16 17:31:38 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:40:32 +0200
commitc1764e2fea0bb05164c83a876e8cd58b97f58f25 (patch)
treebe1af8dbf5542d93f1cb97f07dd1793fc7acc2df /module/plugins/hoster/AndroidfilehostCom.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/hoster/AndroidfilehostCom.py')
-rw-r--r--module/plugins/hoster/AndroidfilehostCom.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/AndroidfilehostCom.py b/module/plugins/hoster/AndroidfilehostCom.py
index 08005de0f..e5f2c7f88 100644
--- a/module/plugins/hoster/AndroidfilehostCom.py
+++ b/module/plugins/hoster/AndroidfilehostCom.py
@@ -46,8 +46,7 @@ class AndroidfilehostCom(SimpleHoster):
html = self.load("https://www.androidfilehost.com/libs/otf/mirrors.otf.php",
post={'submit': 'submit',
'action': 'getdownloadmirrors',
- 'fid' : fid},
- decode=True)
+ 'fid' : fid})
self.link = re.findall('"url":"(.*?)"', html)[0].replace("\\", "")
mirror_host = self.link.split("/")[2]
@@ -57,8 +56,7 @@ class AndroidfilehostCom(SimpleHoster):
html = self.load("https://www.androidfilehost.com/libs/otf/stats.otf.php",
get={'fid' : fid,
'w' : 'download',
- 'mirror': mirror_host},
- decode=True)
+ 'mirror': mirror_host})
getInfo = create_getInfo(AndroidfilehostCom)