Add filter update frequency to 1 day

Filter is updated twice a day
This commit is contained in:
curben 2018-10-11 14:48:21 +10:30
parent 097e7c452f
commit 4566803d67
2 changed files with 5 additions and 4 deletions

View File

@ -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:

View File

@ -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