diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-22 16:45:04 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-22 16:45:04 +0100 |
commit | 854efeb463bd98cb8e22f1f78f5ce97e6c0ab49f (patch) | |
tree | 3128578d89f36fed0aa5ab7b3ede6311751dd7f8 /module/plugins/crypter/LinkSaveIn.py | |
parent | [UlozTo] Fix TRAFFIC_LEFT_PATTERN (diff) | |
download | pyload-854efeb463bd98cb8e22f1f78f5ce97e6c0ab49f.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/crypter/LinkSaveIn.py')
-rw-r--r-- | module/plugins/crypter/LinkSaveIn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/LinkSaveIn.py b/module/plugins/crypter/LinkSaveIn.py index 22aba8afc..842310853 100644 --- a/module/plugins/crypter/LinkSaveIn.py +++ b/module/plugins/crypter/LinkSaveIn.py @@ -18,7 +18,7 @@ class LinkSaveIn(SimpleCrypter): __type__ = "crypter" __version__ = "2.02" - __pattern__ = r'http://(?:www\.)?linksave\.in/(?P<id>\w+)$' + __pattern__ = r'http://(?:www\.)?linksave\.in/(?P<ID>\w+)$' __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), ("subfolder_per_package", "bool", "Create a subfolder for each package", True)] @@ -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) |