[cohost] remove 'plainTextBody' from default filenames (#6262)

This commit is contained in:
Mike Fährmann
2024-10-01 14:35:07 +02:00
parent 2e87a91e97
commit 8f09e4eb02

View File

@@ -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):