summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/PastebinCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 20:33:34 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-12 20:33:34 +0100
commit0f530be2642c63759cb6156866f1d4ab119760da (patch)
treedf25e018cba9b652a6bcbcbe41dc82b89e40a3fa /module/plugins/crypter/PastebinCom.py
parent[SimpleHoster] Remove CONTENT_DISPOSITION + Rename parseInfo to parseInfos (diff)
downloadpyload-0f530be2642c63759cb6156866f1d4ab119760da.tar.xz
Fix missing create_getInfo
Diffstat (limited to 'module/plugins/crypter/PastebinCom.py')
-rw-r--r--module/plugins/crypter/PastebinCom.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/PastebinCom.py b/module/plugins/crypter/PastebinCom.py
index 1dae39bb8..b3d5a4bea 100644
--- a/module/plugins/crypter/PastebinCom.py
+++ b/module/plugins/crypter/PastebinCom.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from module.plugins.internal.SimpleCrypter import SimpleCrypter
+from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
class PastebinCom(SimpleCrypter):
@@ -19,3 +19,6 @@ class PastebinCom(SimpleCrypter):
LINK_PATTERN = r'<div class="de\d+">(https?://[^ <]+)(?:[^<]*)</div>'
NAME_PATTERN = r'<div class="paste_box_line1" title="(?P<N>[^"]+)">'
+
+
+getInfo = create_getInfo(PastebinCom)