diff options
author | Adam Tauber <asciimoo@gmail.com> | 2021-03-15 21:47:19 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2021-03-15 21:47:27 +0100 |
commit | 4c631ac6d0bbe3338598329ee562b92f6766d63a (patch) | |
tree | 3e60117803d532401bc3331cc343b58385f75f14 | |
parent | 8158d8654a045cd15c9ae94facf79b89473ba092 (diff) | |
download | searxng-4c631ac6d0bbe3338598329ee562b92f6766d63a.tar.gz searxng-4c631ac6d0bbe3338598329ee562b92f6766d63a.zip |
[fix] remove debug code
-rw-r--r-- | searx/engines/youtube_noapi.py | 2 |
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']): |