summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/ShareLinksBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/crypter/ShareLinksBiz.py')
-rw-r--r--pyload/plugins/crypter/ShareLinksBiz.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/pyload/plugins/crypter/ShareLinksBiz.py b/pyload/plugins/crypter/ShareLinksBiz.py
index 7572cdadd..0a8eeacbd 100644
--- a/pyload/plugins/crypter/ShareLinksBiz.py
+++ b/pyload/plugins/crypter/ShareLinksBiz.py
@@ -9,17 +9,17 @@ from pyload.plugins.Crypter import Crypter
class ShareLinksBiz(Crypter):
- __name__ = "ShareLinksBiz"
- __type__ = "crypter"
- __version__ = "1.14"
+ __name = "ShareLinksBiz"
+ __type = "crypter"
+ __version = "1.14"
- __pattern__ = r'http://(?:www\.)?(share-links|s2l)\.biz/(?P<ID>_?\w+)'
- __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
+ __pattern = r'http://(?:www\.)?(share-links|s2l)\.biz/(?P<ID>_?\w+)'
+ __config = [("use_subfolder", "bool", "Save package to subfolder", True),
("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
- __description__ = """Share-Links.biz decrypter plugin"""
- __license__ = "GPLv3"
- __authors__ = [("fragonib", "fragonib[AT]yahoo[DOT]es")]
+ __description = """Share-Links.biz decrypter plugin"""
+ __license = "GPLv3"
+ __authors = [("fragonib", "fragonib[AT]yahoo[DOT]es")]
def setup(self):
@@ -68,8 +68,8 @@ class ShareLinksBiz(Crypter):
url = pyfile.url
if 's2l.biz' in url:
url = self.load(url, just_header=True)['location']
- self.baseUrl = "http://www.%s.biz" % re.match(self.__pattern__, url).group(1)
- self.fileId = re.match(self.__pattern__, url).group('ID')
+ self.baseUrl = "http://www.%s.biz" % re.match(self.__pattern, url).group(1)
+ self.fileId = re.match(self.__pattern, url).group('ID')
self.package = pyfile.package()