[docs] add kemono text content example (#2963)

This commit is contained in:
Mike Fährmann
2022-09-25 14:03:08 +02:00
parent ff532d6c3c
commit 08b0c4c0b1

View File

@@ -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",