summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UserscloudCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-13 03:34:46 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-13 03:34:46 +0200
commitfbb98784866ec884fca5f067436e8117a3b1b24b (patch)
tree934d6f41c7a36ac595f4672ce3cc7e443ad00968 /module/plugins/hoster/UserscloudCom.py
parentMerge pull request #1816 from GammaC0de/patch-1 (diff)
downloadpyload-fbb98784866ec884fca5f067436e8117a3b1b24b.tar.xz
[UlozTo] Hoster update
Diffstat (limited to 'module/plugins/hoster/UserscloudCom.py')
-rw-r--r--module/plugins/hoster/UserscloudCom.py5
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)