summaryrefslogtreecommitdiff
path: root/searx/engines/youtube_noapi.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2021-03-15 21:47:19 +0100
committerAdam Tauber <asciimoo@gmail.com>2021-03-15 21:47:27 +0100
commit4c631ac6d0bbe3338598329ee562b92f6766d63a (patch)
tree3e60117803d532401bc3331cc343b58385f75f14 /searx/engines/youtube_noapi.py
parent8158d8654a045cd15c9ae94facf79b89473ba092 (diff)
downloadsearxng-4c631ac6d0bbe3338598329ee562b92f6766d63a.tar.gz
searxng-4c631ac6d0bbe3338598329ee562b92f6766d63a.zip
[fix] remove debug code
Diffstat (limited to 'searx/engines/youtube_noapi.py')
-rw-r--r--searx/engines/youtube_noapi.py2
1 files changed, 0 insertions, 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']):