mirror of
https://github.com/pajamian/Pastebin2cpaste.git
synced 2025-04-26 04:51:10 -05:00
Allow a slash at the end of debian URLs.
This commit is contained in:
parent
328d2628a4
commit
1f4cf959db
@ -54,7 +54,7 @@ class Pastebin2cpaste(callbacks.Plugin):
|
|||||||
'url': 'https://pastebin.com/raw/%s'
|
'url': 'https://pastebin.com/raw/%s'
|
||||||
},
|
},
|
||||||
'hastebin.com': {
|
'hastebin.com': {
|
||||||
'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*$'),
|
'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*/?$'),
|
||||||
'url': 'https://hastebin.com/raw/%s'
|
'url': 'https://hastebin.com/raw/%s'
|
||||||
},
|
},
|
||||||
'www.irccloud.com': {
|
'www.irccloud.com': {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user