mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
Merge branch 'master' into conditional-sigusr1
This commit is contained in:
commit
2a6dbeb6a5
@ -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