summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FourSharedCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-28 00:58:56 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-28 00:58:56 +0100
commit712ec761237eb989484b8c8f84fdf2d566500482 (patch)
tree9054ca99b3bf0c0938f6bec17c129e7ccfa43c96 /module/plugins/hoster/FourSharedCom.py
parentMerge pull request #2125 from GammaC0de/patch-6 (diff)
downloadpyload-712ec761237eb989484b8c8f84fdf2d566500482.tar.xz
Fix https://github.com/pyload/pyload/issues/2112
Diffstat (limited to 'module/plugins/hoster/FourSharedCom.py')
-rw-r--r--module/plugins/hoster/FourSharedCom.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/hoster/FourSharedCom.py b/module/plugins/hoster/FourSharedCom.py
index 751e52b8b..1e9d8ce54 100644
--- a/module/plugins/hoster/FourSharedCom.py
+++ b/module/plugins/hoster/FourSharedCom.py
@@ -12,8 +12,11 @@ class FourSharedCom(SimpleHoster):
__status__ = "testing"
__pattern__ = r'https?://(?:www\.)?4shared(-china)?\.com/(account/)?(download|get|file|document|photo|video|audio|mp3|office|rar|zip|archive|music)/.+'
- __config__ = [("activated" , "bool", "Activated" , True),
- ("use_premium", "bool", "Use premium account if available", 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__ = """4Shared.com hoster plugin"""
__license__ = "GPLv3"