summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ExtabitCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 19:14:29 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 19:14:29 +0200
commit9d9618ab35071f36840fe51e63fe2f887131dc5a (patch)
tree47028e89e5a7a2ede5e1d0eddfa7930ba367baf6 /module/plugins/hoster/ExtabitCom.py
parent[SimpleCrypter] Don't use self.link(s) (diff)
downloadpyload-9d9618ab35071f36840fe51e63fe2f887131dc5a.tar.xz
Update hosters
Diffstat (limited to 'module/plugins/hoster/ExtabitCom.py')
-rw-r--r--module/plugins/hoster/ExtabitCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ExtabitCom.py b/module/plugins/hoster/ExtabitCom.py
index 0311ada4b..b27cf8faf 100644
--- a/module/plugins/hoster/ExtabitCom.py
+++ b/module/plugins/hoster/ExtabitCom.py
@@ -2,7 +2,7 @@
import re
-from module.common.json_layer import json_loads
+from module.plugins.internal.utils import json
from module.plugins.captcha.ReCaptcha import ReCaptcha
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, seconds_to_midnight
@@ -54,7 +54,7 @@ class ExtabitCom(SimpleHoster):
get_data = {'type': "recaptcha"}
get_data['capture'], get_data['challenge'] = recaptcha.challenge(captcha_key)
- res = json_loads(self.load("http://extabit.com/file/%s/" % fileID, get=get_data))
+ res = json.loads(self.load("http://extabit.com/file/%s/" % fileID, get=get_data))
if "ok" in res:
self.captcha.correct()