summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/Dereferer.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/Dereferer.py')
-rw-r--r--pyload/plugins/crypter/Dereferer.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugins/crypter/Dereferer.py b/pyload/plugins/crypter/Dereferer.py
index b4217217f..325bfa912 100644
--- a/pyload/plugins/crypter/Dereferer.py
+++ b/pyload/plugins/crypter/Dereferer.py
@@ -8,19 +8,19 @@ from pyload.plugins.Crypter import Crypter
class Dereferer(Crypter):
- __name__ = "Dereferer"
- __type__ = "crypter"
- __version__ = "0.10"
+ __name = "Dereferer"
+ __type = "crypter"
+ __version = "0.10"
- __pattern__ = r'https?://([^/]+)/.*?(?P<url>(ht|f)tps?(://|%3A%2F%2F).*)'
- __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
+ __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)]
- __description__ = """Crypter for dereferers"""
- __license__ = "GPLv3"
- __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+ __description = """Crypter for dereferers"""
+ __license = "GPLv3"
+ __authors = [("zoidberg", "zoidberg@mujmail.cz")]
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('+')]