summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/Dereferer.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/Dereferer.py')
-rw-r--r--module/plugins/crypter/Dereferer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/Dereferer.py b/module/plugins/crypter/Dereferer.py
index dadc3c8b3..398cadce7 100644
--- a/module/plugins/crypter/Dereferer.py
+++ b/module/plugins/crypter/Dereferer.py
@@ -12,7 +12,7 @@ class Dereferer(Crypter):
__type__ = "crypter"
__version__ = "0.10"
- __pattern__ = r'https?://([^/]+)/.*?(?P<url>(ht|f)tps?(://|%3A%2F%2F).*)'
+ __pattern__ = r'https?://([^/]+)/.*?(?P<URL>(ht|f)tps?(://|%3A%2F%2F).*)'
__config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
@@ -22,5 +22,5 @@ class Dereferer(Crypter):
def decrypt(self, pyfile):
- link = re.match(self.__pattern__, pyfile.url).group('url')
+ link = re.match(self.__pattern__, pyfile.url).group('URL')
self.urls = [unquote(link).rstrip('+')]