summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/RgHostNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/RgHostNet.py')
-rw-r--r--pyload/plugin/hoster/RgHostNet.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/RgHostNet.py b/pyload/plugin/hoster/RgHostNet.py
index abdccdf68..2552b5091 100644
--- a/pyload/plugin/hoster/RgHostNet.py
+++ b/pyload/plugin/hoster/RgHostNet.py
@@ -6,16 +6,16 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster
class RgHostNet(SimpleHoster):
- __name = "RgHostNet"
- __type = "hoster"
- __version = "0.03"
+ __name__ = "RgHostNet"
+ __type__ = "hoster"
+ __version__ = "0.03"
- __pattern = r'http://(?:www\.)?rghost\.net/\d+(?:r=\d+)?'
- __config = [("use_premium", "bool", "Use premium account if available", True)]
+ __pattern__ = r'http://(?:www\.)?rghost\.net/\d+(?:r=\d+)?'
+ __config__ = [("use_premium", "bool", "Use premium account if available", True)]
- __description = """RgHost.net hoster plugin"""
- __license = "GPLv3"
- __authors = [("z00nx", "z00nx0@gmail.com")]
+ __description__ = """RgHost.net hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("z00nx", "z00nx0@gmail.com")]
INFO_PATTERN = r'<h1>\s+(<a[^>]+>)?(?P<N>[^<]+)(</a>)?\s+<small[^>]+>\s+\((?P<S>[^)]+)\)\s+</small>\s+</h1>'