mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-03-11 16:35:14 +00:00
Update fediverse.py
This commit is contained in:
parent
bb8cc5f1da
commit
e94674c5d8
|
@ -39,9 +39,7 @@ class Fediverse(Filter):
|
|||
self.known_words = [word.strip() for word in words if len(word.strip()) > 3]
|
||||
print ("[*] Data loaded to use KnownWords4 strategy")
|
||||
|
||||
def test(self, data):
|
||||
filtered = False
|
||||
|
||||
def test(self, filtered, data, webserver, port, scheme, method, url):
|
||||
# prevent cache confusing
|
||||
if data.find(b'<title>Welcome to nginx!</title>') > -1:
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue
Block a user