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.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/pyload/plugin/hoster/RgHostNet.py b/pyload/plugin/hoster/RgHostNet.py
index 82dcf42df..7a16598b2 100644
--- a/pyload/plugin/hoster/RgHostNet.py
+++ b/pyload/plugin/hoster/RgHostNet.py
@@ -6,15 +6,15 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster, create_getInfo
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+)?'
+ __pattern__ = r'http://(?:www\.)?rghost\.net/\d+(?:r=\d+)?'
- __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>'