Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akku1139 authored Aug 23, 2024
1 parent be6dd3b commit 56853c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 56853c5

Please sign in to comment.