summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/PastebinCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-10 17:49:14 +0200
commit8e15c1af88b61cebda68a3b40352bf388c2010c7 (patch)
treebd1fb40094d907ccad41b4770f947cf9cac020cf /module/plugins/crypter/PastebinCom.py
parentMerge branch 'pr/n1997_GammaC0de' into stable (diff)
downloadpyload-8e15c1af88b61cebda68a3b40352bf388c2010c7.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/crypter/PastebinCom.py')
-rw-r--r--module/plugins/crypter/PastebinCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/PastebinCom.py b/module/plugins/crypter/PastebinCom.py
index c8a7473f1..eeb605dd7 100644
--- a/module/plugins/crypter/PastebinCom.py
+++ b/module/plugins/crypter/PastebinCom.py
@@ -4,7 +4,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
class PastebinCom(SimpleCrypter):
- __name__ = "PastebinCom"
+ __name = "PastebinCom"
__type__ = "crypter"
__version__ = "0.05"
__status__ = "testing"
@@ -19,7 +19,7 @@ class PastebinCom(SimpleCrypter):
__authors__ = [("stickell", "l.stickell@yahoo.it")]
- URL_REPLACEMENTS = [(__pattern__ + '.*', r'http://www.pastebin.com/\g<ID>')]
+ URL_REPLACEMENTS = [(__pattern + '.*', r'http://www.pastebin.com/\g<ID>')]
NAME_PATTERN = r'<div class="paste_box_line1" title="(?P<N>.+?)"'
LINK_PATTERN = r'<div class="de\d+">(.+?)<'