diff options
Diffstat (limited to 'module/plugins/hoster/UserscloudCom.py')
-rw-r--r-- | module/plugins/hoster/UserscloudCom.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/UserscloudCom.py b/module/plugins/hoster/UserscloudCom.py index 00f8e0324..ebaed4859 100644 --- a/module/plugins/hoster/UserscloudCom.py +++ b/module/plugins/hoster/UserscloudCom.py @@ -28,9 +28,10 @@ class UserscloudCom(SimpleHoster): self.resume_download = False self.chunk_limit = 1 + def handle_free(self, pyfile): - post_data=dict(re.findall(r'<input type="hidden" name="(.+?)" value="(.*?)">', self.html)) + self.download(pyfile.url, + post=dict(re.findall(r'<input type="hidden" name="(.+?)" value="(.*?)">', self.html))) - self.download(pyfile.url, post=post_data) getInfo = create_getInfo(UserscloudCom) |