From b36d2473a117030f827f2da6ee3e5a2ec202734e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Tue, 26 Jun 2018 14:57:45 +0200 Subject: [PATCH] Fix #73 and #71 --- data/data.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/data/data.json b/data/data.json index 3bb90c8..4a93c69 100644 --- a/data/data.json +++ b/data/data.json @@ -74,8 +74,9 @@ ".*(google\\.).*\\/searchbyimage\\?image_url=[^\\/|\\?|&]*(\\/|&(amp;)?)?", ".*(hangouts\\.google\\.).*\\/webchat.*zx=[^\\/|\\?|&]*(\\/|&(amp;)?)?", ".*(client-channel\\.google\\.).*\\/client-channel.*zx=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - ".*(.google\\.).*\\/complete\\/search\\?client=youtube.*gs_gbg=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - ".*(.google\\.).*\\/s\\?tbm=map.*gs_[a-zA-Z]*=[^\\/|\\?|&]*(\\/|&(amp;)?)?" + ".*(google\\.).*\\/complete\\/search\\?client=youtube.*gs_gbg=[^\\/|\\?|&]*(\\/|&(amp;)?)?", + ".*(google\\.).*\\/s\\?tbm=map.*gs_[a-zA-Z]*=[^\\/|\\?|&]*(\\/|&(amp;)?)?", + ".*(news\\.google\\.).*\\/\\?hl=.*" ], "redirections": [ ".*google\\..*\\/.*url\\?.*url=([^\\/|\\?|&]*)" @@ -330,6 +331,16 @@ ], "exceptions": [], "redirections": [] + }, + "govdelivery.com": { + "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(govdelivery\\.com)(.*\\?.*)", + "completeProvider": false, + "rules": [], + "exceptions": [], + "redirections": [ + ".*links\\.govdelivery\\.com.*\\/track\\?.*(http:\\/\\/.*)", + ".*links\\.govdelivery\\.com.*\\/track\\?.*(https:\\/\\/.*)" + ] } } }