summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SmoozedCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 03:05:49 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-23 03:05:49 +0200
commit8dc2f1eb8853471d2a0de6617b95f0a0768f0287 (patch)
treeb4165cd3a4de7205e709f72ef79aa32f00e29dfe /module/plugins/hoster/SmoozedCom.py
parent[Dereferer] Improve a bit (diff)
downloadpyload-8dc2f1eb8853471d2a0de6617b95f0a0768f0287.tar.xz
Boring code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/SmoozedCom.py')
-rw-r--r--module/plugins/hoster/SmoozedCom.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/hoster/SmoozedCom.py b/module/plugins/hoster/SmoozedCom.py
index e1400b3bb..9f84edfec 100644
--- a/module/plugins/hoster/SmoozedCom.py
+++ b/module/plugins/hoster/SmoozedCom.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
+from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
from module.plugins.internal.utils import json
-from module.plugins.internal.MultiHoster import MultiHoster
class SmoozedCom(MultiHoster):
__name__ = "SmoozedCom"
__type__ = "hoster"
- __version__ = "0.10"
+ __version__ = "0.11"
__status__ = "testing"
__pattern__ = r'^unmatchable$' #: Since we want to allow the user to specify the list of hoster to use we let MultiHoster.activate
@@ -61,3 +61,6 @@ class SmoozedCom(MultiHoster):
self.fail(_("Unable to initialize download"))
else:
self.link = header.get('location')[-1] if isinstance(header.get('location'), list) else header.get('location')
+
+
+getInfo = create_getInfo(SmoozedCom)