summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/ShareonlineBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/ShareonlineBiz.py')
-rw-r--r--pyload/plugin/hoster/ShareonlineBiz.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/pyload/plugin/hoster/ShareonlineBiz.py b/pyload/plugin/hoster/ShareonlineBiz.py
index 2d8b6d925..5d671c77a 100644
--- a/pyload/plugin/hoster/ShareonlineBiz.py
+++ b/pyload/plugin/hoster/ShareonlineBiz.py
@@ -12,22 +12,22 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster
class ShareonlineBiz(SimpleHoster):
- __name__ = "ShareonlineBiz"
- __type__ = "hoster"
- __version__ = "0.49"
+ __name = "ShareonlineBiz"
+ __type = "hoster"
+ __version = "0.49"
- __pattern__ = r'https?://(?:www\.)?(share-online\.biz|egoshare\.com)/(download\.php\?id=|dl/)(?P<ID>\w+)'
- __config__ = [("use_premium", "bool", "Use premium account if available", True)]
+ __pattern = r'https?://(?:www\.)?(share-online\.biz|egoshare\.com)/(download\.php\?id=|dl/)(?P<ID>\w+)'
+ __config = [("use_premium", "bool", "Use premium account if available", True)]
- __description__ = """Shareonline.biz hoster plugin"""
- __license__ = "GPLv3"
- __authors__ = [("spoob", "spoob@pyload.org"),
+ __description = """Shareonline.biz hoster plugin"""
+ __license = "GPLv3"
+ __authors = [("spoob", "spoob@pyload.org"),
("mkaay", "mkaay@mkaay.de"),
("zoidberg", "zoidberg@mujmail.cz"),
("Walter Purcaro", "vuolter@gmail.com")]
- URL_REPLACEMENTS = [(__pattern__ + ".*", "http://www.share-online.biz/dl/\g<ID>")]
+ URL_REPLACEMENTS = [(__pattern + ".*", "http://www.share-online.biz/dl/\g<ID>")]
CHECK_TRAFFIC = True
@@ -41,7 +41,7 @@ class ShareonlineBiz(SimpleHoster):
info = {'name': urlparse(unquote(url)).path.split('/')[-1] or _("Unknown"), 'size': 0, 'status': 3 if url else 1, 'url': url}
if url:
- info['pattern'] = re.match(cls.__pattern__, url).groupdict()
+ info['pattern'] = re.match(cls.__pattern, url).groupdict()
field = getURL("http://api.share-online.biz/linkcheck.php",
get={'md5': "1"},