diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 18:29:00 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-26 18:29:00 +0100 |
commit | c3b406a00aba3fa549676a8181a5eb2a99d77c87 (patch) | |
tree | dc9c76f31e4c0baec0a53b6e2bd03182de08f518 /pyload/plugin/crypter/SafelinkingNet.py | |
parent | Cleanup (diff) | |
download | pyload-c3b406a00aba3fa549676a8181a5eb2a99d77c87.tar.xz |
Diffstat (limited to 'pyload/plugin/crypter/SafelinkingNet.py')
-rw-r--r-- | pyload/plugin/crypter/SafelinkingNet.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/crypter/SafelinkingNet.py b/pyload/plugin/crypter/SafelinkingNet.py index dffce9ade..0c93d6919 100644 --- a/pyload/plugin/crypter/SafelinkingNet.py +++ b/pyload/plugin/crypter/SafelinkingNet.py @@ -10,17 +10,17 @@ from pyload.plugin.internal.captcha import SolveMedia class SafelinkingNet(Crypter): - __name__ = "SafelinkingNet" - __type__ = "crypter" - __version__ = "0.14" + __name = "SafelinkingNet" + __type = "crypter" + __version = "0.14" - __pattern__ = r'https?://(?:www\.)?safelinking\.net/([pd])/\w+' - __config__ = [("use_subfolder" , "bool", "Save package to subfolder" , True), + __pattern = r'https?://(?:www\.)?safelinking\.net/([pd])/\w+' + __config = [("use_subfolder" , "bool", "Save package to subfolder" , True), ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)] - __description__ = """Safelinking.net decrypter plugin""" - __license__ = "GPLv3" - __authors__ = [("quareevo", "quareevo@arcor.de")] + __description = """Safelinking.net decrypter plugin""" + __license = "GPLv3" + __authors = [("quareevo", "quareevo@arcor.de")] SOLVEMEDIA_PATTERN = "solvemediaApiKey = '([\w.-]+)';" @@ -29,7 +29,7 @@ class SafelinkingNet(Crypter): def decrypt(self, pyfile): url = pyfile.url - if re.match(self.__pattern__, url).group(1) == "d": + if re.match(self.__pattern, url).group(1) == "d": header = self.load(url, just_header=True) if 'location' in header: |