From 285fd152d6ea3946425d6c96ff0bad1848c847ff Mon Sep 17 00:00:00 2001 From: iam-py-test <84232764+iam-py-test@users.noreply.github.com> Date: Fri, 28 Oct 2022 08:14:52 -0400 Subject: [PATCH] Add "(unofficial)" --- ClearURLs for uBo/compile.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ClearURLs for uBo/compile.py b/ClearURLs for uBo/compile.py index c42c14aa5..69f8fd16d 100644 --- a/ClearURLs for uBo/compile.py +++ b/ClearURLs for uBo/compile.py @@ -19,7 +19,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# this code has been modified by https://github.com/iam-py-test, as to improve compatibility and fix issues +# this code has been modified by https://github.com/iam-py-test and others, as to improve compatibility and fix issues import json import sys @@ -30,11 +30,11 @@ from typing import IO import requests # type: ignore HEAD = """\ -! Title: ClearURLs for uBo +! Title: ClearURLs for uBo (unofficial) ! Homepage: https://github.com/DandelionSprout/adfilt/discussions/163 ! Description: Want to use ClearURLs' tracking protection without installing another extension? This list is a (unofficial) version of the ClearURLs rules, designed for use in uBlock Origin and AdGuard ! Last updated: {date} -! Script last updated: 13/8/2022 +! Script last updated: 28/10/2022 ! Expires: 1 day ! Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md ! Note: This was based off of https://gist.github.com/rusty-snake/5cd83a87d680ecbd03e79a1a06758207, which is based off of https://github.com/ClearURLs/Rules. The maintainers of Adfilt (DandelionSprout and iam-py-test, and contributors) have made some modifications as to keep it up-to-date with the source and to fix issues @@ -277,6 +277,7 @@ def main() -> int: else: raise ValueError filterlist.write(ALLOWLIST) + filterlist.close() return 0