From 8f09e4eb0243880be5a0d230319219c427514eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 1 Oct 2024 14:35:07 +0200 Subject: [PATCH] [cohost] remove 'plainTextBody' from default filenames (#6262) --- gallery_dl/extractor/cohost.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gallery_dl/extractor/cohost.py b/gallery_dl/extractor/cohost.py index e1f60407..8cd1a2d7 100644 --- a/gallery_dl/extractor/cohost.py +++ b/gallery_dl/extractor/cohost.py @@ -19,8 +19,7 @@ class CohostExtractor(Extractor): category = "cohost" root = "https://cohost.org" directory_fmt = ("{category}", "{postingProject[handle]}") - filename_fmt = ("{postId}_{headline|plainTextBody:?/_/[:100]}" - "{num}.{extension}") + filename_fmt = ("{postId}_{headline:?/_/}{num}.{extension}") archive_fmt = "{postId}_{num}" def _init(self):