diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-28 00:58:56 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-28 00:58:56 +0100 |
commit | 712ec761237eb989484b8c8f84fdf2d566500482 (patch) | |
tree | 9054ca99b3bf0c0938f6bec17c129e7ccfa43c96 /module/plugins/hoster/UserscloudCom.py | |
parent | Merge pull request #2125 from GammaC0de/patch-6 (diff) | |
download | pyload-712ec761237eb989484b8c8f84fdf2d566500482.tar.xz |
Fix https://github.com/pyload/pyload/issues/2112
Diffstat (limited to 'module/plugins/hoster/UserscloudCom.py')
-rw-r--r-- | module/plugins/hoster/UserscloudCom.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/UserscloudCom.py b/module/plugins/hoster/UserscloudCom.py index 46483e843..1b07ffd6d 100644 --- a/module/plugins/hoster/UserscloudCom.py +++ b/module/plugins/hoster/UserscloudCom.py @@ -12,7 +12,11 @@ class UserscloudCom(SimpleHoster): __status__ = "testing" __pattern__ = r'https?://(?:www\.)?userscloud\.com/\w{12}' - __config__ = [("activated", "bool", "Activated", True)] + __config__ = [("activated" , "bool", "Activated" , True), + ("use_premium" , "bool", "Use premium account if available" , True), + ("fallback" , "bool", "Fallback to free download if premium fails" , True), + ("chk_filesize", "bool", "Check file size" , True), + ("max_wait" , "int" , "Reconnect if waiting time is greater than minutes", 10 )] __description__ = """Userscloud.com hoster plugin""" __license__ = "GPLv3" |