From 1383c90462fb85d921ee38da4dd68e39ba30c8e2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 20 Aug 2024 10:30:34 +0100 Subject: [PATCH] Missing argument --- daemon_get.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon_get.py b/daemon_get.py index d2daaf235..932c4a553 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -274,7 +274,7 @@ def daemon_http_get(self) -> None: # which has a long term partnership with OpenAI if 'oai-host-hash' in self.headers: if is_image_file(self.path): - http_404(self) + http_404(self, 720) return print('GET HTTP LLM scraper poisoned: ' + str(self.headers)) msg = html_poisoned(self.server.dictionary, @@ -350,7 +350,7 @@ def daemon_http_get(self) -> None: if block: if llm: if is_image_file(self.path): - http_404(self) + http_404(self, 723) return # if this is an LLM crawler then feed it some trash print('GET HTTP LLM scraper poisoned: ' + str(self.headers))