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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/RgHostNet.py b/module/plugins/hoster/RgHostNet.py
index 0762e3bd0..80954e67b 100644
--- a/module/plugins/hoster/RgHostNet.py
+++ b/module/plugins/hoster/RgHostNet.py
@@ -18,10 +18,10 @@ class RgHostNet(SimpleHoster):
LINK_PATTERN = r'''<a\s+href="([^"]+)"\s+class="btn\s+large\s+download"[^>]+>Download</a>'''
def handleFree(self):
- found = re.search(self.LINK_PATTERN, self.html)
- if found is None:
+ m = re.search(self.LINK_PATTERN, self.html)
+ if m is None:
self.parseError("Unable to detect the direct link")
- download_link = found.group(1)
+ download_link = m.group(1)
self.download(download_link, disposition=True)