summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/MegaNz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/MegaNz.py')
-rw-r--r--pyload/plugins/hoster/MegaNz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/MegaNz.py b/pyload/plugins/hoster/MegaNz.py
index 0d5e84f2f..bcdfecb5e 100644
--- a/pyload/plugins/hoster/MegaNz.py
+++ b/pyload/plugins/hoster/MegaNz.py
@@ -96,7 +96,7 @@ class MegaNz(Hoster):
key = None
# match is guaranteed because plugin was chosen to handle url
- node = re.search(self.__pattern__, pyfile.url).group(2)
+ node = re.match(self.__pattern__, pyfile.url).group(2)
if "!" in node:
node, key = node.split("!")