summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/PastebinCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/PastebinCom.py')
-rw-r--r--module/plugins/crypter/PastebinCom.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/crypter/PastebinCom.py b/module/plugins/crypter/PastebinCom.py
index b3d5a4bea..751b47cc9 100644
--- a/module/plugins/crypter/PastebinCom.py
+++ b/module/plugins/crypter/PastebinCom.py
@@ -9,8 +9,9 @@ class PastebinCom(SimpleCrypter):
__version__ = "0.03"
__pattern__ = r'http://(?:www\.)?pastebin\.com/\w+'
- __config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
- ("subfolder_per_package", "bool", "Create a subfolder for each package", True)]
+ __config__ = [("use_premium" , "bool", "Use premium account if available" , True),
+ ("use_subfolder" , "bool", "Save package to subfolder" , True),
+ ("subfolder_per_pack", "bool", "Create a subfolder for each package", True)]
__description__ = """Pastebin.com decrypter plugin"""
__license__ = "GPLv3"
@@ -18,7 +19,7 @@ class PastebinCom(SimpleCrypter):
LINK_PATTERN = r'<div class="de\d+">(https?://[^ <]+)(?:[^<]*)</div>'
- NAME_PATTERN = r'<div class="paste_box_line1" title="(?P<N>[^"]+)">'
+ NAME_PATTERN = r'<div class="paste_box_line1" title="(?P<N>.+?)">'
getInfo = create_getInfo(PastebinCom)