Index: sitescripts/notifications/parser.py |
diff --git a/sitescripts/notifications/parser.py b/sitescripts/notifications/parser.py |
index f7a14008cb701dd21b184cafd79fc8e85a0bff4b..d8679b89b625495b593b2484b4b0cc6a27cc6329 100644 |
--- a/sitescripts/notifications/parser.py |
+++ b/sitescripts/notifications/parser.py |
@@ -92,6 +92,11 @@ def _parse_notification(data, name): |
current[key] = datetime.datetime.strptime(value, '%Y-%m-%dT%H:%M') |
elif key == 'interval': |
current[key] = int(value) |
+ elif key == 'urls': |
+ current['urlFilters'] = [ |
+ v.upper() + '^$document' |
+ for v in value.split() |
+ ] |
else: |
raise Exception("Unknown parameter '%s' in file '%s'" % (key, name)) |