Fix comments extraction due to new response continuation key name
Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
parent
740aea68f6
commit
4e556efa3d
@ -542,8 +542,12 @@ def extract_items(response, item_types=_item_types,
|
|||||||
elif 'onResponseReceivedEndpoints' in response:
|
elif 'onResponseReceivedEndpoints' in response:
|
||||||
for endpoint in response.get('onResponseReceivedEndpoints', []):
|
for endpoint in response.get('onResponseReceivedEndpoints', []):
|
||||||
items, ctoken = extract_items_from_renderer_list(
|
items, ctoken = extract_items_from_renderer_list(
|
||||||
deep_get(endpoint, 'appendContinuationItemsAction',
|
multi_deep_get(
|
||||||
'continuationItems', default=[]),
|
endpoint,
|
||||||
|
['reloadContinuationItemsCommand', 'continuationItems'],
|
||||||
|
['appendContinuationItemsAction', 'continuationItems'],
|
||||||
|
default=[]
|
||||||
|
),
|
||||||
item_types=item_types,
|
item_types=item_types,
|
||||||
)
|
)
|
||||||
if items:
|
if items:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user