- gallery-dl.conf contains all config options set to their default values, with the exception of 'filename', 'directory', and 'cache.file' - gallery-dl-example.conf contains a potential real-world configuration file and demonstrates some more involved optionspull/81/head
parent
5f37d40a3e
commit
74c8f83056
@ -1,136 +1,111 @@
|
||||
{
|
||||
"base-directory": "/tmp/",
|
||||
"netrc": false,
|
||||
"base-directory": "~/gallery-dl/",
|
||||
"netrc": true,
|
||||
|
||||
"cache": {
|
||||
"file": "~/gallery-dl/cache.sqlite3"
|
||||
},
|
||||
|
||||
"downloader":
|
||||
{
|
||||
"part": true,
|
||||
"part-directory": null,
|
||||
"http":
|
||||
{
|
||||
"rate": null,
|
||||
"retries": 5,
|
||||
"timeout": 30,
|
||||
"verify": true
|
||||
}
|
||||
"part-directory": "/tmp/.download/",
|
||||
"rate": "1M",
|
||||
"retries": 3,
|
||||
"timeout": 8.5
|
||||
},
|
||||
|
||||
"extractor":
|
||||
{
|
||||
"archive": null,
|
||||
"proxy": null,
|
||||
"skip": true,
|
||||
"sleep": 0,
|
||||
"archive": "~/gallery-dl/archive.sqlite3",
|
||||
"proxy": "http://10.10.1.10:3128",
|
||||
|
||||
"pixiv":
|
||||
{
|
||||
"user":
|
||||
"archive": "~/gallery-dl/archive-pixiv.sqlite3",
|
||||
|
||||
"filename": "{id}{num}.{extension}",
|
||||
"directory": ["Pixiv", "Works", "{user[id]}"],
|
||||
|
||||
"username": "foo",
|
||||
"password": "bar",
|
||||
|
||||
"favorite":
|
||||
{
|
||||
"directory": ["{category}", "{user[id]}"]
|
||||
"directory": ["Pixiv", "Favorites", "{user[id]}"]
|
||||
},
|
||||
|
||||
"bookmark":
|
||||
{
|
||||
"directory": ["{category}", "my bookmarks"]
|
||||
},
|
||||
"ugoira": true,
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"batoto":
|
||||
{
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"exhentai":
|
||||
{
|
||||
"wait-min": 3,
|
||||
"wait-max": 6,
|
||||
"original": true,
|
||||
"username": null,
|
||||
"password": null,
|
||||
"cookies": {
|
||||
"igneous": null,
|
||||
"s": null,
|
||||
"yay": "louder"
|
||||
"directory": ["Pixiv", "My Bookmarks"],
|
||||
|
||||
"username": "foo123",
|
||||
"password": "bar123"
|
||||
}
|
||||
},
|
||||
"nijie":
|
||||
{
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"sankaku":
|
||||
{
|
||||
"wait-min": 2,
|
||||
"wait-max": 4,
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"seiga":
|
||||
{
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"gelbooru":
|
||||
{
|
||||
"filename": "{category}_{id:>07}_{md5}.{extension}",
|
||||
"api": true
|
||||
},
|
||||
"reddit":
|
||||
|
||||
"exhentai":
|
||||
{
|
||||
"refresh-token": null,
|
||||
"comments": 500,
|
||||
"morecomments": false,
|
||||
"date-min": 0,
|
||||
"date-max": 253402210800,
|
||||
"date-format": "%Y-%m-%dT%H:%M:%S",
|
||||
"id-min": "0",
|
||||
"id-max": "ZIK0ZJ",
|
||||
"recursion": 0
|
||||
"cookies":
|
||||
{
|
||||
"ipb_member_id": "12345",
|
||||
"ipb_pass_hash": "1234567890abcdef"
|
||||
},
|
||||
|
||||
"proxy":
|
||||
{
|
||||
"http": "http://10.10.1.10:8080",
|
||||
"https": "https://10.10.1.10:443"
|
||||
},
|
||||
|
||||
"filename": "{num:>04}_{name}.{extension}",
|
||||
"directory": ["{category!c}", "{title}"],
|
||||
|
||||
"wait-min": 1.0,
|
||||
"wait-max": 5.0
|
||||
},
|
||||
|
||||
"flickr":
|
||||
{
|
||||
"access-token": null,
|
||||
"access-token-secret": null,
|
||||
"metadata": false,
|
||||
"size-max": null
|
||||
"access-token": "1234567890-abcdef",
|
||||
"access-token-secret": "1234567890abcdef",
|
||||
"size-max": 1920
|
||||
},
|
||||
"deviantart":
|
||||
{
|
||||
"refresh-token": null,
|
||||
"flat": true,
|
||||
"mature": true,
|
||||
"original": true
|
||||
},
|
||||
"gfycat":
|
||||
|
||||
"reddit":
|
||||
{
|
||||
"format": "mp4"
|
||||
"morecomments": true,
|
||||
"date-min": "2017-01",
|
||||
"date-format": "%Y-%m",
|
||||
"recursion": 1
|
||||
},
|
||||
"imgur":
|
||||
|
||||
"sankaku":
|
||||
{
|
||||
"mp4": true
|
||||
"sleep": 2,
|
||||
"wait-min": 5.0,
|
||||
"wait-max": 5.0,
|
||||
"cookies": "~/gallery-dl/cookies-sankaku.txt"
|
||||
},
|
||||
|
||||
"tumblr":
|
||||
{
|
||||
"posts": "photo",
|
||||
"inline": false,
|
||||
"reblogs": true,
|
||||
"external": false
|
||||
},
|
||||
"recursive":
|
||||
{
|
||||
"blacklist": ["directlink", "oauth", "recursive", "test"]
|
||||
},
|
||||
"oauth":
|
||||
{
|
||||
"browser": true
|
||||
"posts": "all",
|
||||
"external": false,
|
||||
"reblogs": false,
|
||||
"inline": true,
|
||||
|
||||
"likes":
|
||||
{
|
||||
"posts": "video,photo,link",
|
||||
"external": true,
|
||||
"reblogs": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"output":
|
||||
{
|
||||
"mode": "auto",
|
||||
"shorten": true,
|
||||
"progress": true,
|
||||
"logfile": null,
|
||||
"unsupportedfile": null
|
||||
"mode": "terminal",
|
||||
"logfile": "~/gallery-dl/log.txt"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue