[suivi] improve the suivi module

* Add multiple arguments/tracking numbers support
* Make it easier to add new tracking services
* Simplified to just one hook to which we can specify trackers using the
names variables

(correct typo in framalink comments)
This commit is contained in:
Max 2015-10-27 22:19:12 +01:00 committed by nemunaire
commit 497263eaf7
2 changed files with 51 additions and 52 deletions

View file

@ -13,7 +13,7 @@ from nemubot.message import Text
from nemubot.tools import web
# MODULE FUCNTIONS ####################################################
# MODULE FUNCTIONS ####################################################
def default_reducer(url, data):
snd_url = url + quote(data, "/:%@&=?")