diff options
| author | 2013-05-13 16:16:45 +0200 | |
|---|---|---|
| committer | 2013-05-13 16:16:45 +0200 | |
| commit | 29a6c6a15207e0914864ff4709a9648bd7f1d9d9 (patch) | |
| tree | eb049f125ac6f17c4cfbb9d88c914d9fb5423daa /module/plugins | |
| parent | Merge pull request #101 from Vuolter/plugin/RestartFailed (diff) | |
| download | pyload-29a6c6a15207e0914864ff4709a9648bd7f1d9d9.tar.xz | |
RyushareCom: two simultaneous downloads and resume are allowed even in free mode.
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/hoster/RyushareCom.py | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hoster/RyushareCom.py b/module/plugins/hoster/RyushareCom.py index c2ff54e0c..7bfe4e8fe 100644 --- a/module/plugins/hoster/RyushareCom.py +++ b/module/plugins/hoster/RyushareCom.py @@ -7,7 +7,7 @@ class RyushareCom(XFileSharingPro):      __name__ = "RyushareCom"      __type__ = "hoster"      __pattern__ = r"http://(?:\w*\.)*?ryushare.com/\w{11,}" -    __version__ = "0.10" +    __version__ = "0.11"      __description__ = """ryushare.com hoster plugin"""      __author_name__ = ("zoidberg", "stickell")      __author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it") @@ -18,7 +18,9 @@ class RyushareCom(XFileSharingPro):      DIRECT_LINK_PATTERN = r'<a href="([^"]+)">Click here to download</a>'      def setup(self): -        self.resumeDownload = self.multiDL = self.premium +        self.resumeDownload = self.multiDL = True +        if not self.premium: +            self.limitDL = 2          # Up to 3 chunks allowed in free downloads. Unknown for premium          self.chunkLimit = 3  | 
