From 4c631ac6d0bbe3338598329ee562b92f6766d63a Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Mon, 15 Mar 2021 21:47:19 +0100 Subject: [PATCH] [fix] remove debug code --- searx/engines/youtube_noapi.py | 2 -- 1 file changed, 2 deletions(-) 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']):