summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/crypter/LinkdecrypterCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/crypter/LinkdecrypterCom.py')
-rw-r--r--pyload/plugin/crypter/LinkdecrypterCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyload/plugin/crypter/LinkdecrypterCom.py b/pyload/plugin/crypter/LinkdecrypterCom.py
index facec37d5..09863989f 100644
--- a/pyload/plugin/crypter/LinkdecrypterCom.py
+++ b/pyload/plugin/crypter/LinkdecrypterCom.py
@@ -10,8 +10,8 @@ class LinkdecrypterCom(Crypter):
__version__ = "0.29"
__pattern__ = r'^unmatchable$'
- __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
- ("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
+ __config__ = [("use_subfolder" , "bool", "Save package to subfolder" , True),
+ ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)]
__description__ = """Linkdecrypter.com decrypter plugin"""
__license__ = "GPLv3"
@@ -34,10 +34,10 @@ class LinkdecrypterCom(Crypter):
retries = 5
post_dict = {"link_cache": "on", "pro_links": pyfile.url, "modo_links": "text"}
- self.html = self.load('http://linkdecrypter.com/', post=post_dict, cookies=True, decode=True)
+ self.html = self.load('http://linkdecrypter.com/', post=post_dict, decode=True)
while retries:
- m = re.search(self.TEXTAREA_PATTERN, self.html, flags=re.S)
+ m = re.search(self.TEXTAREA_PATTERN, self.html, re.S)
if m:
self.urls = [x for x in m.group(1).splitlines() if '[LINK-ERROR]' not in x]
@@ -65,4 +65,4 @@ class LinkdecrypterCom(Crypter):
else:
retries -= 1
- self.html = self.load('http://linkdecrypter.com/', cookies=True, decode=True)
+ self.html = self.load('http://linkdecrypter.com/', decode=True)