summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LuckyShareNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/LuckyShareNet.py')
-rw-r--r--module/plugins/hoster/LuckyShareNet.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/LuckyShareNet.py b/module/plugins/hoster/LuckyShareNet.py
index 2c33b57e7..09300a41a 100644
--- a/module/plugins/hoster/LuckyShareNet.py
+++ b/module/plugins/hoster/LuckyShareNet.py
@@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class LuckyShareNet(SimpleHoster):
__name__ = "LuckyShareNet"
__type__ = "hoster"
- __version__ = "0.04"
+ __version__ = "0.05"
__pattern__ = r'https?://(?:www\.)?luckyshare\.net/(?P<ID>\d{10,})'
@@ -41,11 +41,12 @@ class LuckyShareNet(SimpleHoster):
# TODO: There should be a filesize limit for free downloads
# TODO: Some files could not be downloaded in free mode
- def handleFree(self):
+ def handleFree(self, pyfile):
rep = self.load(r"http://luckyshare.net/download/request/type/time/file/" + self.info['pattern']['ID'], decode=True)
+
self.logDebug("JSON: " + rep)
- json = self.parseJson(rep)
+ json = self.parseJson(rep)
self.wait(int(json['time']))
recaptcha = ReCaptcha(self)