diff options
Diffstat (limited to 'pyload/plugin/hoster/ShareonlineBiz.py')
-rw-r--r-- | pyload/plugin/hoster/ShareonlineBiz.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/hoster/ShareonlineBiz.py b/pyload/plugin/hoster/ShareonlineBiz.py index 2c9fb3807..f3be1aeb2 100644 --- a/pyload/plugin/hoster/ShareonlineBiz.py +++ b/pyload/plugin/hoster/ShareonlineBiz.py @@ -12,21 +12,21 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster class ShareonlineBiz(SimpleHoster): - __name = "ShareonlineBiz" - __type = "hoster" - __version = "0.48" + __name__ = "ShareonlineBiz" + __type__ = "hoster" + __version__ = "0.48" - __pattern = r'https?://(?:www\.)?(share-online\.biz|egoshare\.com)/(download\.php\?id=|dl/)(?P<ID>\w+)' + __pattern__ = r'https?://(?:www\.)?(share-online\.biz|egoshare\.com)/(download\.php\?id=|dl/)(?P<ID>\w+)' - __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 @@ -40,7 +40,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"}, |