Added support for irccloud pastebin.

This commit is contained in:
Peter Ajamian 2020-04-05 14:47:45 +12:00
parent c55998bfc1
commit 6afce29612

View File

@ -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'
}
}