From 0d67d54162d3447d99c5ac209e2659a3c6a00029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 13 Sep 2024 10:33:05 +0200 Subject: [PATCH] [cohost] support 'attachment-row' blocks (#4483) --- gallery_dl/extractor/cohost.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gallery_dl/extractor/cohost.py b/gallery_dl/extractor/cohost.py index 5523d384..fc7c48bd 100644 --- a/gallery_dl/extractor/cohost.py +++ b/gallery_dl/extractor/cohost.py @@ -82,6 +82,11 @@ class CohostExtractor(Extractor): file = block["attachment"].copy() file["shared"] = shared files.append(file) + elif type == "attachment-row": + for att in block["attachments"]: + file = att["attachment"].copy() + file["shared"] = shared + files.append(file) elif type == "markdown": content.append(block["markdown"]["content"]) elif type == "ask":