From c681e947369b3300649dce563f484a22ca0b1c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 10 Oct 2024 09:37:15 +0200 Subject: [PATCH] [cohost] limit 'headline' length in default filenames (#6262) --- gallery_dl/extractor/cohost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/cohost.py b/gallery_dl/extractor/cohost.py index 8cd1a2d7..4722a4f1 100644 --- a/gallery_dl/extractor/cohost.py +++ b/gallery_dl/extractor/cohost.py @@ -19,7 +19,7 @@ class CohostExtractor(Extractor): category = "cohost" root = "https://cohost.org" directory_fmt = ("{category}", "{postingProject[handle]}") - filename_fmt = ("{postId}_{headline:?/_/}{num}.{extension}") + filename_fmt = ("{postId}_{headline:?/_/[b:200]}{num}.{extension}") archive_fmt = "{postId}_{num}" def _init(self):