diff options
author | Stefano <l.stickell@yahoo.it> | 2013-02-18 23:18:29 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-02-18 23:18:29 +0100 |
commit | a48b97491d0152140817a37f84c7beb046dad315 (patch) | |
tree | 4ed1f4b9344cd69368f26e6fc571271a387e0c6b /module/plugins/hoster/SpeedLoadOrg.py | |
parent | Using the JSON parser (diff) | |
download | pyload-a48b97491d0152140817a37f84c7beb046dad315.tar.xz |
Fixed incorrect function name
Diffstat (limited to 'module/plugins/hoster/SpeedLoadOrg.py')
-rw-r--r-- | module/plugins/hoster/SpeedLoadOrg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/SpeedLoadOrg.py b/module/plugins/hoster/SpeedLoadOrg.py index b7599cabf..e74114742 100644 --- a/module/plugins/hoster/SpeedLoadOrg.py +++ b/module/plugins/hoster/SpeedLoadOrg.py @@ -2,7 +2,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, parseFileInfo from module.network.RequestFactory import getURL from module.plugins.ReCaptcha import ReCaptcha -from module.common.json_layer import loads +from module.common.json_layer import json_loads import re @@ -52,5 +52,5 @@ class SpeedLoadOrg(SimpleHoster): def getApiData(self): self.file_id = re.search(self.__pattern__, self.pyfile.url).group('ID') - self.api_data = loads(getURL(self.API_URL + self.file_id)) + self.api_data = json_loads(getURL(self.API_URL + self.file_id)) self.api_data['size'] = self.api_data['fileSize'] |