From b2d8a54ecf4157570d00a8b974a779766822bf4b Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 3 Oct 2022 04:08:41 -0400 Subject: New upstream version 1.23.2 --- docs/gallery-dl-example.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'docs/gallery-dl-example.conf') diff --git a/docs/gallery-dl-example.conf b/docs/gallery-dl-example.conf index 89bfd0c..279aeef 100644 --- a/docs/gallery-dl-example.conf +++ b/docs/gallery-dl-example.conf @@ -127,6 +127,23 @@ ] }, + "kemonoparty": { + "postprocessors": [ + { + "name": "metadata", + "event": "post", + "filename": "{id} {title}.txt", + + "#": "write text content and external URLs", + "mode": "custom", + "format": "{content}\n{embed[url]:?/\n/}", + + "#": "onlx write file if there is an external link present", + "filter": "embed.get('url') or re.search(r'(?i)(gigafile|xgf|1drv|mediafire|mega|google|drive)', content)" + } + ] + }, + "flickr": { "access-token": "1234567890-abcdef", -- cgit v1.2.3