From 6afce29612260d559e5fe8bb1f894bdbd6bf5cb2 Mon Sep 17 00:00:00 2001 From: Peter Ajamian Date: Sun, 5 Apr 2020 14:47:45 +1200 Subject: [PATCH] Added support for irccloud pastebin. --- plugin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin.py b/plugin.py index 4744385..11825b2 100644 --- a/plugin.py +++ b/plugin.py @@ -60,6 +60,10 @@ class Pastebin2cpaste(callbacks.Plugin): 'hastebin.com': { 'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*$'), 'url': 'https://hastebin.com/raw/%s' + }, + 'www.irccloud.com': { + 'regex': re.compile(r'/pastebin(?:/raw)/([0-9a-zA-Z]+)(?:/.*)?$'), + 'url': 'https://www.irccloud.com/pastebin/raw/%s' } }