summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/AlldebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/AlldebridCom.py')
-rw-r--r--module/plugins/hoster/AlldebridCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/hoster/AlldebridCom.py b/module/plugins/hoster/AlldebridCom.py
index c6c4365c7..b3d42a381 100644
--- a/module/plugins/hoster/AlldebridCom.py
+++ b/module/plugins/hoster/AlldebridCom.py
@@ -3,15 +3,14 @@
import re
import urllib
-from module.common.json_layer import json_loads
from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
-from module.plugins.internal.Plugin import parse_size
+from module.plugins.internal.utils import json, parse_size
class AlldebridCom(MultiHoster):
__name__ = "AlldebridCom"
__type__ = "hoster"
- __version__ = "0.48"
+ __version__ = "0.49"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.|s\d+\.)?alldebrid\.com/dl/[\w^_]+'
@@ -31,7 +30,7 @@ class AlldebridCom(MultiHoster):
def handle_premium(self, pyfile):
password = self.get_password()
- data = json_loads(self.load("http://www.alldebrid.com/service.php",
+ data = json.loads(self.load("http://www.alldebrid.com/service.php",
get={'link': pyfile.url, 'json': "true", 'pw': password}))
self.log_debug("Json data", data)