summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/SpeedyshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/SpeedyshareCom.py')
-rw-r--r--pyload/plugins/hoster/SpeedyshareCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/pyload/plugins/hoster/SpeedyshareCom.py b/pyload/plugins/hoster/SpeedyshareCom.py
index 5dd29dad0..edf935d59 100644
--- a/pyload/plugins/hoster/SpeedyshareCom.py
+++ b/pyload/plugins/hoster/SpeedyshareCom.py
@@ -18,8 +18,7 @@ class SpeedyshareCom(SimpleHoster):
__pattern__ = r"https?://(?:www\.)?(speedyshare\.com|speedy\.sh)/\w+"
__description__ = """Speedyshare.com hoster plugin"""
- __author_name__ = "zapp-brannigan"
- __author_mail__ = "fuerst.reinje@web.de"
+ __authors__ = [("zapp-brannigan", "fuerst.reinje@web.de")]
FILE_NAME_PATTERN = r'class=downloadfilename>(?P<N>.*)</span></td>'
@@ -43,8 +42,8 @@ class SpeedyshareCom(SimpleHoster):
dl_link = urljoin("http://www.speedyshare.com", m.group(1))
self.download(dl_link, disposition=True)
- 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")