summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/EuroshareEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/EuroshareEu.py')
-rw-r--r--pyload/plugin/hoster/EuroshareEu.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/EuroshareEu.py b/pyload/plugin/hoster/EuroshareEu.py
index 84fbcda08..fa0f69d8f 100644
--- a/pyload/plugin/hoster/EuroshareEu.py
+++ b/pyload/plugin/hoster/EuroshareEu.py
@@ -8,9 +8,10 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster
class EuroshareEu(SimpleHoster):
__name__ = "EuroshareEu"
__type__ = "hoster"
- __version__ = "0.27"
+ __version__ = "0.28"
__pattern__ = r'http://(?:www\.)?euroshare\.(eu|sk|cz|hu|pl)/file/.+'
+ __config__ = [("use_premium", "bool", "Use premium account if available", True)]
__description__ = """Euroshare.eu hoster plugin"""
__license__ = "GPLv3"
@@ -57,8 +58,8 @@ class EuroshareEu(SimpleHoster):
self.link = "http://euroshare.eu%s" % m.group(1)
- def checkFile(self):
+ def checkFile(self, rules={}):
if self.checkDownload({"multi-dl": re.compile(self.ERR_PARDL_PATTERN)})
self.longWait(5 * 60, 12)
- return super(EuroshareEu, self).checkFile()
+ return super(EuroshareEu, self).checkFile(rules)