summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/GooIm.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/GooIm.py')
-rw-r--r--module/plugins/hoster/GooIm.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/module/plugins/hoster/GooIm.py b/module/plugins/hoster/GooIm.py
index 436d825a9..4b27e6cc8 100644
--- a/module/plugins/hoster/GooIm.py
+++ b/module/plugins/hoster/GooIm.py
@@ -11,9 +11,10 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class GooIm(SimpleHoster):
__name__ = "GooIm"
__type__ = "hoster"
- __version__ = "0.03"
+ __version__ = "0.04"
__pattern__ = r'https?://(?:www\.)?goo\.im/.+'
+ __config__ = [("use_premium", "bool", "Use premium account if available", True)]
__description__ = """Goo.im hoster plugin"""
__license__ = "GPLv3"
@@ -29,11 +30,9 @@ class GooIm(SimpleHoster):
self.multiDL = True
- def handleFree(self):
- url = self.pyfile.url
- self.html = self.load(url, cookies=True)
+ def handleFree(self, pyfile):
self.wait(10)
- self.download(url, cookies=True)
+ self.link = pyfile.url
getInfo = create_getInfo(GooIm)