update postprocessor entries in example config

- use whitelists
- add ugoira example (#299)
This commit is contained in:
Mike Fährmann 2019-06-07 13:47:02 +02:00
parent 2fb85178da
commit 035b850e82
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -5,6 +5,20 @@
"archive": "~/gallery-dl/archive.sqlite3",
"proxy": "http://10.10.1.10:3128",
"postprocessors": [
{
"name": "ugoira",
"whitelist": ["pixiv", "danbooru"],
"ffmpeg-twopass": true,
"ffmpeg-args": ["-c:v", "libvpx", "-crf", "4", "-b:v", "5000k", "-an"]
},
{
"name": "metadata",
"whitelist": ["danbooru", "yandere", "sankaku"],
"mode": "tags"
}
],
"pixiv":
{
"archive": "~/gallery-dl/archive-pixiv.sqlite3",
@ -15,26 +29,6 @@
"username": "foo",
"password": "bar",
"postprocessors": [
{
"name": "classify",
"mapping": {
"images": ["jpg", "png", "gif"],
"ugoira": ["zip", "txt"]
}
},
{
"name": "zip",
"keep-files": true,
"compression": "store"
},
{
"name": "exec",
"async": false,
"command": ["echo", "\n{user[account]} - {id}"]
}
],
"favorite":
{
"directory": ["Pixiv", "Favorites", "{user[id]}"]