From acc46fc3497a66a427b795b4a22c6e71d69185a1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 13 Dec 2014 15:56:57 +0100 Subject: Update --- pyload/plugins/crypter/Dereferer.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 pyload/plugins/crypter/Dereferer.py (limited to 'pyload/plugins/crypter/Dereferer.py') diff --git a/pyload/plugins/crypter/Dereferer.py b/pyload/plugins/crypter/Dereferer.py deleted file mode 100644 index 325bfa912..000000000 --- a/pyload/plugins/crypter/Dereferer.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- - -import re - -from urllib import unquote - -from pyload.plugins.Crypter import Crypter - - -class Dereferer(Crypter): - __name = "Dereferer" - __type = "crypter" - __version = "0.10" - - __pattern = r'https?://([^/]+)/.*?(?P(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")] - - - def decrypt(self, pyfile): - link = re.match(self.__pattern, pyfile.url).group('url') - self.urls = [unquote(link).rstrip('+')] -- cgit v1.2.3