Allow a slash at the end of debian URLs.

This commit is contained in:
Peter Ajamian 2020-11-30 19:44:59 +13:00
parent 328d2628a4
commit 1f4cf959db

View File

@ -54,7 +54,7 @@ class Pastebin2cpaste(callbacks.Plugin):
'url': 'https://pastebin.com/raw/%s'
},
'hastebin.com': {
'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*$'),
'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*/?$'),
'url': 'https://hastebin.com/raw/%s'
},
'www.irccloud.com': {