mirror of
https://github.com/searxng/searxng.git
synced 2024-11-05 04:40:11 +01: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