summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OpenloadIo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/OpenloadIo.py')
-rw-r--r--module/plugins/hoster/OpenloadIo.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/module/plugins/hoster/OpenloadIo.py b/module/plugins/hoster/OpenloadIo.py
index 48638bdab..57a7e72b1 100644
--- a/module/plugins/hoster/OpenloadIo.py
+++ b/module/plugins/hoster/OpenloadIo.py
@@ -3,14 +3,14 @@
import re
from module.network.RequestFactory import getURL
-from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
-from module.plugins.internal.utils import json
+from module.plugins.internal.SimpleHoster import SimpleHoster
+from module.plugins.internal.misc import json
class OpenloadIo(SimpleHoster):
__name__ = "OpenloadIo"
__type__ = "hoster"
- __version__ = "0.13"
+ __version__ = "0.14"
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?openload\.(co|io)/(f|embed)/(?P<ID>[\w\-]+)'
@@ -67,6 +67,3 @@ class OpenloadIo(SimpleHoster):
download_json = self._load_json(self._DOWNLOAD_FILE_URI_PATTERN.format(file_id, ticket))
self.link = download_json['result']['url']
-
-
-getInfo = create_getInfo(OpenloadIo)