diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 03:21:06 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 03:21:06 +0200 |
commit | 2a79ebb957adf2ed610e6104fc00f7e51e835edc (patch) | |
tree | ba5f16fbedb190723a21f1cb509a06fb2e8bb848 /module/plugins/crypter | |
parent | Fixed https://github.com/pyload/pyload/issues/671 + improved threading (diff) | |
download | pyload-2a79ebb957adf2ed610e6104fc00f7e51e835edc.tar.xz |
Cleaned ShareLinksBiz pattern + better if-check for RSDF plugin
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/ShareLinksBiz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py index 816842216..7353f30a7 100644 --- a/module/plugins/crypter/ShareLinksBiz.py +++ b/module/plugins/crypter/ShareLinksBiz.py @@ -11,7 +11,7 @@ from module.plugins.Crypter import Crypter class ShareLinksBiz(Crypter): __name__ = "ShareLinksBiz" __type__ = "crypter" - __pattern__ = r'(?P<base>http://(?:www\.)?(share-links|s2l)\.biz)/(?P<id>_?[0-9a-z]+)(/.*)?' + __pattern__ = r'http://(?:www\.)?(share-links|s2l)\.biz/(?P<ID>_?\w+)' __version__ = "1.13" __description__ = """Share-Links.biz decrypter plugin""" __author_name__ = "fragonib" @@ -64,7 +64,7 @@ class ShareLinksBiz(Crypter): if 's2l.biz' in url: url = self.load(url, just_header=True)['location'] self.baseUrl = re.match(self.__pattern__, url).group(1) - self.fileId = re.match(self.__pattern__, url).group('id') + self.fileId = re.match(self.__pattern__, url).group('ID') self.package = pyfile.package() def isOnline(self): |