aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gallery-dl-example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gallery-dl-example.conf')
-rw-r--r--docs/gallery-dl-example.conf17
1 files changed, 17 insertions, 0 deletions
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",