From 56853c52e25653ace3aa1b141b9b6e85c65a5cdc Mon Sep 17 00:00:00 2001 From: -akku- <151517253+akku1139@users.noreply.github.com> Date: Sat, 24 Aug 2024 02:50:36 +0900 Subject: [PATCH] fix --- scripts/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/main.py b/scripts/main.py index 6dc88ae..51466d8 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -45,9 +45,9 @@ def make(filename, comment, func): continue out("www.youtube.com###sections " + ret) -make("channels.txt", "Spammer channels", lambda line: ("a[href^=\"/" + encodeURI(line) + "\"]:upward(6)")) +make("channels.txt", "Spammer channels", lambda line: ("a[href=\"/" + encodeURI(line) + "\"]:upward(6)")) -make("channels-prefix.txt", "spammer channels (with prefix)", lambda line: ("a[href=\"/@" + encodeURI(line) + "\"]:upward(6)")) +make("channels-prefix.txt", "spammer channels (with prefix)", lambda line: ("a[href^=\"/@" + encodeURI(line) + "\"]:upward(6)")) def make_reply_filter(line): if line not in channel_id: