From fcead1870013b6a970eca7878a66dbe783c80ea3 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 03:40:45 +0100 Subject: Partially revert acc46fc3497a66a427b795b4a22c6e71d69185a1 --- pyload/plugin/crypter/LinkSaveIn.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pyload/plugin/crypter/LinkSaveIn.py') diff --git a/pyload/plugin/crypter/LinkSaveIn.py b/pyload/plugin/crypter/LinkSaveIn.py index 3d5a989eb..9b4af05f2 100644 --- a/pyload/plugin/crypter/LinkSaveIn.py +++ b/pyload/plugin/crypter/LinkSaveIn.py @@ -14,17 +14,17 @@ from pyload.utils import html_unescape class LinkSaveIn(SimpleCrypter): - __name = "LinkSaveIn" - __type = "crypter" - __version = "2.02" + __name__ = "LinkSaveIn" + __type__ = "crypter" + __version__ = "2.02" - __pattern = r'http://(?:www\.)?linksave\.in/(?P\w+)$' - __config = [("use_subfolder", "bool", "Save package to subfolder", True), + __pattern__ = r'http://(?:www\.)?linksave\.in/(?P\w+)$' + __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), ("subfolder_per_package", "bool", "Create a subfolder for each package", True)] - __description = """LinkSave.in decrypter plugin""" - __license = "GPLv3" - __authors = [("fragonib", "fragonib[AT]yahoo[DOT]es")] + __description__ = """LinkSave.in decrypter plugin""" + __license__ = "GPLv3" + __authors__ = [("fragonib", "fragonib[AT]yahoo[DOT]es")] COOKIES = [("linksave.in", "Linksave_Language", "english")] @@ -44,7 +44,7 @@ class LinkSaveIn(SimpleCrypter): def decrypt(self, pyfile): # Init self.package = pyfile.package() - self.fileid = re.match(self.__pattern, pyfile.url).group('id') + self.fileid = re.match(self.__pattern__, pyfile.url).group('id') # Request package self.html = self.load(pyfile.url) -- cgit v1.2.3