summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/account/DropboxCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/account/DropboxCom.py')
-rw-r--r--pyload/plugins/account/DropboxCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/pyload/plugins/account/DropboxCom.py b/pyload/plugins/account/DropboxCom.py
index 15e95d46d..639e2be9c 100644
--- a/pyload/plugins/account/DropboxCom.py
+++ b/pyload/plugins/account/DropboxCom.py
@@ -13,8 +13,7 @@ class DropboxCom(SimpleHoster):
__pattern__ = r'https?://(?:www\.)?dropbox\.com/.+'
__description__ = """Dropbox.com hoster plugin"""
- __author_name__ = "zapp-brannigan"
- __author_mail__ = "fuerst.reinje@web.de"
+ __authors__ = [("zapp-brannigan", "fuerst.reinje@web.de")]
FILE_NAME_PATTERN = r'<title>Dropbox - (?P<N>.+?)<'
@@ -34,8 +33,8 @@ class DropboxCom(SimpleHoster):
def handleFree(self):
self.download(self.pyfile.url, get={'dl': "1"})
- check = self.checkDownload({'is_html': re.compile("html")})
- if check == "is_html":
+ check = self.checkDownload({'html': re.compile("html")})
+ if check == "html":
self.parseError("Downloaded file is an html file")