mirror of
https://github.com/searx/searx
synced 2024-12-11 16:35:20 +01:00
[fix] remove debug code
This commit is contained in:
parent
8158d8654a
commit
4c631ac6d0
@ -70,8 +70,6 @@ def response(resp):
|
|||||||
def parse_next_page_response(response_text):
|
def parse_next_page_response(response_text):
|
||||||
results = []
|
results = []
|
||||||
result_json = loads(response_text)
|
result_json = loads(response_text)
|
||||||
with open("/tmp/x", "w") as f:
|
|
||||||
f.write(response_text)
|
|
||||||
for section in (result_json['onResponseReceivedCommands'][0]
|
for section in (result_json['onResponseReceivedCommands'][0]
|
||||||
.get('appendContinuationItemsAction')['continuationItems'][0]
|
.get('appendContinuationItemsAction')['continuationItems'][0]
|
||||||
.get('itemSectionRenderer')['contents']):
|
.get('itemSectionRenderer')['contents']):
|
||||||
|
Loading…
Reference in New Issue
Block a user