From d5daecab9d16cf97d9bcfb6748af97fc8f4f2806 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Thu, 29 May 2025 09:56:10 +0000 Subject: [PATCH] fix: reduce expiry to 12h to match filter update frequency. uBO supports 4h interval https://github.com/ameshkov/diffupdates/blob/master/README.md --- src/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.sh b/src/script.sh index 0174fc77..d96e805b 100644 --- a/src/script.sh +++ b/src/script.sh @@ -208,7 +208,7 @@ grep -F -f "urlhaus-top-domains.txt" > "malware-url-top-domains-raw-online.txt" CURRENT_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") FIRST_LINE="! Title: Malicious URL Blocklist" SECOND_LINE="! Updated: $CURRENT_TIME" -THIRD_LINE="! Expires: 1 day (update frequency)" +THIRD_LINE="! Expires: 12 hours (update frequency)" FOURTH_LINE="! Homepage: https://gitlab.com/malware-filter/urlhaus-filter" FIFTH_LINE="! License: https://gitlab.com/malware-filter/urlhaus-filter#license" SIXTH_LINE="! Source: https://urlhaus.abuse.ch/api/"