From 712ec761237eb989484b8c8f84fdf2d566500482 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 28 Oct 2015 00:58:56 +0100 Subject: Fix https://github.com/pyload/pyload/issues/2112 --- module/plugins/hoster/WebshareCz.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/WebshareCz.py') diff --git a/module/plugins/hoster/WebshareCz.py b/module/plugins/hoster/WebshareCz.py index 0e8db3c96..7fe639335 100644 --- a/module/plugins/hoster/WebshareCz.py +++ b/module/plugins/hoster/WebshareCz.py @@ -13,8 +13,11 @@ class WebshareCz(SimpleHoster): __status__ = "testing" __pattern__ = r'https?://(?:www\.)?(en\.)?webshare\.cz/(?:#/)?file/(?P\w+)' - __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__ = """WebShare.cz hoster plugin""" __license__ = "GPLv3" -- cgit v1.2.3