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.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)