summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DropboxCom.py
diff options
context:
space:
mode:
authorGravatar lazlev <lazlev@yopmail.com> 2015-08-09 00:50:54 +0200
committerGravatar lazlev <lazlev@yopmail.com> 2015-08-09 00:50:54 +0200
commitb0ef3f1673e1930916604bb1264ca3a38414bc8d (patch)
treec97936e4d2a4cd6eb1072c65c8a08a7d18816b18 /module/plugins/hoster/DropboxCom.py
parent[XFileSharingPro][XFileSharingProFolder] Added default __pattern__ (diff)
parentFix https://github.com/pyload/pyload/issues/1707 (diff)
downloadpyload-b0ef3f1673e1930916604bb1264ca3a38414bc8d.tar.xz
Merge pull request #1 from pyload/stable
sync with stable
Diffstat (limited to 'module/plugins/hoster/DropboxCom.py')
-rw-r--r--module/plugins/hoster/DropboxCom.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/hoster/DropboxCom.py b/module/plugins/hoster/DropboxCom.py
index eec968f5a..7c4e952df 100644
--- a/module/plugins/hoster/DropboxCom.py
+++ b/module/plugins/hoster/DropboxCom.py
@@ -8,7 +8,8 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class DropboxCom(SimpleHoster):
__name__ = "DropboxCom"
__type__ = "hoster"
- __version__ = "0.04"
+ __version__ = "0.05"
+ __status__ = "testing"
__pattern__ = r'https?://(?:www\.)?dropbox\.com/.+'
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -28,11 +29,11 @@ class DropboxCom(SimpleHoster):
def setup(self):
self.multiDL = True
- self.chunkLimit = 1
- self.resumeDownload = True
+ self.chunk_limit = 1
+ self.resume_download = True
- def handleFree(self, pyfile):
+ def handle_free(self, pyfile):
self.download(pyfile.url, get={'dl': "1"})