mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 01:31:25 +01:00
Compare commits
No commits in common. "771026fbdacb75ee121fb5554bb2d53ba57877e9" and "01be29d9dddef61cbeb2aba4eb232e6b8ef602d4" have entirely different histories.
771026fbda
...
01be29d9dd
|
@ -612,11 +612,10 @@ class FacebookIE(InfoExtractor):
|
||||||
nodes = variadic(traverse_obj(data, 'nodes', 'node') or [])
|
nodes = variadic(traverse_obj(data, 'nodes', 'node') or [])
|
||||||
attachments = traverse_obj(nodes, (
|
attachments = traverse_obj(nodes, (
|
||||||
..., 'comet_sections', 'content', 'story', (None, 'attached_story'), 'attachments',
|
..., 'comet_sections', 'content', 'story', (None, 'attached_story'), 'attachments',
|
||||||
..., ('styles', 'style_type_renderer', ('throwbackStyles', 'attachment_target_renderer')),
|
..., ('styles', 'throwbackStyles', 'style_type_renderer'), (None, ...), 'attachment'), expected_type=dict) or []
|
||||||
'attachment'), expected_type=dict) or []
|
|
||||||
for attachment in attachments:
|
for attachment in attachments:
|
||||||
ns = traverse_obj(attachment, ('all_subattachments', 'nodes', ..., {dict}),
|
ns = traverse_obj(attachment, ('all_subattachments', 'nodes', ..., {dict}),
|
||||||
('target', 'attachments', ..., 'styles', 'attachment', {dict}))
|
(..., 'attachments', ..., 'styles', 'attachment', {dict}))
|
||||||
for n in ns:
|
for n in ns:
|
||||||
parse_attachment(n)
|
parse_attachment(n)
|
||||||
parse_attachment(attachment)
|
parse_attachment(attachment)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user