Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] remove debug code

Adam Tauber4c631ac6d0bb
diff --git a/searx/engines/youtube_noapi.py b/searx/engines/youtube_noapi.py
index 5b9e3e3f4..53436b850 100644
--- a/searx/engines/youtube_noapi.py
+++ b/searx/engines/youtube_noapi.py
@@ -70,8 +70,6 @@ def response(resp):
def parse_next_page_response(response_text):
results = []
result_json = loads(response_text)
- with open("/tmp/x", "w") as f:
- f.write(response_text)
for section in (result_json['onResponseReceivedCommands'][0]
.get('appendContinuationItemsAction')['continuationItems'][0]
.get('itemSectionRenderer')['contents']):