1
0
mirror of https://github.com/searxng/searxng.git synced 2024-09-12 07:30:22 +02:00

Merge branch 'master' into conditional-sigusr1

This commit is contained in:
Dr. Rolf Jansen 2021-03-15 19:31:44 -03:00 committed by GitHub
commit 2a6dbeb6a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']):