update gallery-dl.conf and add gallery-dl-example.conf

- 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 options
This commit is contained in:
Mike Fährmann
2018-03-12 18:15:30 +01:00
parent 5f37d40a3e
commit 74c8f83056
3 changed files with 152 additions and 180 deletions

View File

@@ -1,5 +1,5 @@
{
"base-directory": "/tmp/",
"base-directory": "./gallery-dl/",
"netrc": false,
"downloader":
@@ -10,70 +10,79 @@
{
"rate": null,
"retries": 5,
"timeout": 30,
"timeout": 30.0,
"verify": true
}
},
"extractor":
{
"archive": null,
"cookies": null,
"proxy": null,
"skip": true,
"sleep": 0,
"user-agent": "Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0",
"pixiv":
"deviantart":
{
"user":
{
"directory": ["{category}", "{user[id]}"]
},
"bookmark":
{
"directory": ["{category}", "my bookmarks"]
},
"ugoira": true,
"username": null,
"password": null
},
"batoto":
{
"username": null,
"password": null
"refresh-token": null,
"flat": true,
"mature": true,
"original": true
},
"exhentai":
{
"wait-min": 3,
"wait-max": 6,
"original": true,
"username": null,
"password": null,
"cookies": {
"igneous": null,
"s": null,
"yay": "louder"
}
"original": true,
"wait-min": 3.0,
"wait-max": 6.0
},
"flickr":
{
"access-token": null,
"access-token-secret": null,
"metadata": false,
"size-max": null
},
"gelbooru":
{
"api": true
},
"gfycat":
{
"format": "mp4"
},
"idolcomplex":
{
"username": null,
"password": null,
"wait-min": 2.5,
"wait-max": 5.0
},
"imgur":
{
"mp4": true
},
"nijie":
{
"username": null,
"password": null
},
"sankaku":
"oauth":
{
"wait-min": 2,
"wait-max": 4,
"username": null,
"password": null
"browser": true
},
"seiga":
"pixiv":
{
"username": null,
"password": null
"password": null,
"ugoira": true
},
"gelbooru":
"recursive":
{
"filename": "{category}_{id:>07}_{md5}.{extension}",
"api": true
"blacklist": ["directlink", "oauth", "recursive", "test"]
},
"reddit":
{
@@ -87,49 +96,32 @@
"id-max": "ZIK0ZJ",
"recursion": 0
},
"flickr":
"sankaku":
{
"access-token": null,
"access-token-secret": null,
"metadata": false,
"size-max": null
"username": null,
"password": null,
"wait-min": 2.5,
"wait-max": 5.0
},
"deviantart":
"seiga":
{
"refresh-token": null,
"flat": true,
"mature": true,
"original": true
},
"gfycat":
{
"format": "mp4"
},
"imgur":
{
"mp4": true
"username": null,
"password": null
},
"tumblr":
{
"posts": "photo",
"external": false,
"inline": false,
"reblogs": true,
"external": false
},
"recursive":
{
"blacklist": ["directlink", "oauth", "recursive", "test"]
},
"oauth":
{
"browser": true
"posts": "photo",
"reblogs": true
}
},
"output":
{
"mode": "auto",
"shorten": true,
"progress": true,
"shorten": true,
"logfile": null,
"unsupportedfile": null
}