From 4566803d67318744813d27c41bed84427ec2e4a7 Mon Sep 17 00:00:00 2001 From: curben Date: Thu, 11 Oct 2018 14:48:21 +1030 Subject: [PATCH] Add filter update frequency to 1 day Filter is updated twice a day --- README.md | 2 +- utils/script.sh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad119e45..a6f797ae 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This [uBO](https://github.com/gorhill/uBlock/)-compatible filter list is based o ## Subscribe -Filter is updated once a day. +Filter is updated twice a day. Import the following URL into uBO to subcribe: diff --git a/utils/script.sh b/utils/script.sh index 4095bb18..774bfc1d 100755 --- a/utils/script.sh +++ b/utils/script.sh @@ -5,9 +5,10 @@ CURRENT_TIME="$(date -R -u)" FIRST_LINE="! Title: abuse.ch URLhaus Malicious URL Blocklist" SECOND_LINE="! Updated: $CURRENT_TIME" -THIRD_LINE="! Repo: https://gitlab.com/curben/urlhaus" -FOURTH_LINE="! License: https://creativecommons.org/publicdomain/zero/1.0/" -FIFTH_LINE="! Source: https://urlhaus.abuse.ch/api/" +THIRD_LINE="! Expires: 1 day (update frequency)" +FOURTH_LINE="! Repo: https://gitlab.com/curben/urlhaus" +FIFTH_LINE="! License: https://creativecommons.org/publicdomain/zero/1.0/" +SIXTH_LINE="! Source: https://urlhaus.abuse.ch/api/" COMMENT="$FIRST_LINE\n$SECOND_LINE\n$THIRD_LINE\n$FOURTH_LINE\n$FIFTH_LINE" # Download the database dump