From 98a7faea064c34e49947bb5debaf77ad92b3290a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Wed, 6 Sep 2017 15:31:23 +0200 Subject: [PATCH] Subdomain fix --- data/data.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/data.json b/data/data.json index 7116532..a2d4d8c 100644 --- a/data/data.json +++ b/data/data.json @@ -1,7 +1,7 @@ { "providers": { "amazon": { - "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.amazon\\.)\\w{2,}\\/.*", + "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?amazon\\.)\\w{2,}\\/.*", "completeProvider": false, "rules": [ "pf_rd_[a-zA-Z]=[^\\/|\\?|&]*(\\/|&(amp;)?)?", @@ -23,7 +23,7 @@ ] }, "google": { - "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.google\\.)\\w{2,}\\/.*", + "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?google\\.)\\w{2,}\\/.*", "completeProvider": false, "rules": [ "ved=[^\\/|\\?|&]*(\\/|&(amp;)?)?", @@ -117,7 +117,7 @@ "exceptions": [] }, "youtube": { - "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.youtube\\.)\\w{2,}\\/.*", + "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?youtube\\.)\\w{2,}\\/.*", "completeProvider": false, "rules": [ "feature=[^\\/|\\?|&]*(\\/|&(amp;)?)?" @@ -125,7 +125,7 @@ "exceptions": [] }, "facebook": { - "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.facebook\\.)\\w{2,}\\/.*", + "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?facebook\\.)\\w{2,}\\/.*", "completeProvider": false, "rules": [ "[a-zA-Z]*ref=[^\\/|\\?|&]*(\\/|&(amp;)?)?", @@ -134,7 +134,7 @@ "exceptions": [] }, "imdb": { - "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.imdb\\.com)\\/.*", + "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?imdb\\.com)\\/.*", "completeProvider": false, "rules": [ "ref_=[^\\/|\\?|&]*(\\/|&(amp;)?)?" @@ -142,7 +142,7 @@ "exceptions": [] }, "twitter": { - "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.twitter\\.)\\w{2,}\\/.*", + "urlPattern": "(https:\\/\\/||http:\\/\\/).*([\\.]?twitter\\.)\\w{2,}\\/.*", "completeProvider": false, "rules": [ "src=[^\\/|\\?|&]*(\\/|&(amp;)?)?"