diff --git a/__init__.py b/__init__.py index d19180d..9689bad 100644 --- a/__init__.py +++ b/__init__.py @@ -38,7 +38,7 @@ from supybot import world # Use this for the version of this plugin. You may wish to put a CVS keyword # in here if you're keeping the plugin in CVS or some similar system. -__version__ = "0.5" +__version__ = "0.6" # XXX Replace this with an appropriate author or supybot.Author instance. __author__ = supybot.Author('Peter Ajamian', 'pj', 'peter@pajamian.dhs.org') diff --git a/plugin.py b/plugin.py index 6bdcc2f..4020063 100644 --- a/plugin.py +++ b/plugin.py @@ -53,10 +53,6 @@ class Pastebin2cpaste(callbacks.Plugin): 'regex': re.compile(r'([0-9a-zA-Z]+)[.:?!,]*$'), 'url': 'https://pastebin.com/raw/%s' }, - 'paste.fedoraproject.org': { - 'regex': re.compile(r'([0-9a-zA-Z~-]+)(?:/raw)?[.:?!,]*$'), - 'url': 'https://paste.fedoraproject.org/paste/%s/raw' - }, 'hastebin.com': { 'regex': re.compile(r'/([a-z]+)(?:\.[a-z]+)?[.:?!,]*$'), 'url': 'https://hastebin.com/raw/%s' @@ -68,6 +64,10 @@ class Pastebin2cpaste(callbacks.Plugin): 'termbin.com': { 'regex': re.compile(r'([0-9a-zA-Z]+)[.:?!,]*$'), 'url': 'https://termbin.com/%s' + }, + 'paste.debian.net': { + 'regex': re.compile(r'([0-9]+)[.:?!,]*$'), + 'url': 'https://paste.debian.net/plain/%s' } }