summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RgHostNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/RgHostNet.py')
-rw-r--r--module/plugins/hoster/RgHostNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RgHostNet.py b/module/plugins/hoster/RgHostNet.py
index 2018106cb..48ea8ff8c 100644
--- a/module/plugins/hoster/RgHostNet.py
+++ b/module/plugins/hoster/RgHostNet.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class RgHostNet(SimpleHoster):
__name__ = "RgHostNet"
__type__ = "hoster"
- __version__ = "0.01"
+ __version__ = "0.02"
__pattern__ = r'http://(?:www\.)?rghost\.net/\d+(?:r=\d+)?'
@@ -25,7 +25,7 @@ class RgHostNet(SimpleHoster):
def handleFree(self):
m = re.search(self.LINK_PATTERN, self.html)
if m is None:
- self.parseError("Unable to detect the direct link")
+ self.error("Unable to detect the direct link")
download_link = m.group(1)
self.download(download_link, disposition=True)