mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.4k stars 931 forks source link

[config][warning] Could not parse '/etc/gallery-dl.conf' #2927

Closed Nightmare-Serene closed 2 years ago

Nightmare-Serene commented 2 years ago

{ "extractor": { "base-directory": "./gallery-dl/", "parent-directory": false, "postprocessors": null, "archive": null, "cookies": null, "cookies-update": true, "proxy": null, "skip": true,

    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0",
    "retries": 4,
    "timeout": 30.0,
    "verify": true,
    "fallback": true,

    "sleep": 0,
    "sleep-request": 0,
    "sleep-extractor": 0,

    "path-restrict": "auto",
    "path-replace": "_",
    "path-remove": "\\u0000-\\u001f\\u007f",
    "path-strip": "auto",
    "extension-map": {
        "jpeg": "jpg",
        "jpe" : "jpg",
        "jfif": "jpg",
        "jif" : "jpg",
        "jfi" : "jpg"
    },

    "artstation":
    {
        "external": false
    },
    "aryion":
    {
        "username": null,
        "password": null,
        "recursive": true
    },
    "bbc": {
        "width": 1920
    },
    "blogger":
    {
        "videos": true
    },
    "cyberdrop":
    {
        "domain": "auto"
    },
    "danbooru":
    {
        "username": null,
        "password": null,
        "external": false,
        "metadata": false,
        "ugoira": false
    },
    "derpibooru":
    {
        "api-key": null,
        "filter": 56027
    },
    "deviantart":
    {
        "client-id": null,
        "client-secret": null,
        "comments": false,
        "extra": false,
        "flat": true,
        "folders": false,
        "include": "gallery",
        "journals": "html",
        "mature": true,
        "metadata": false,
        "original": true,
        "wait-min": 0
    },
    "e621":
    {
        "username": null,
        "password": null
    },
    "exhentai":
    {
        "username": null,
        "password": null,
        "domain": "auto",
        "limits": true,
        "metadata": false,
        "original": true,
        "sleep-request": 5.0
    },
    "flickr":
    {
        "videos": true,
        "size-max": null
    },
    "furaffinity":
    {
        "descriptions": "text",
        "external": false,
        "include": "gallery",
        "layout": "auto"
    },
    "gelbooru":
    {
        "api-key": null,
        "user-id": null
    },
    "gfycat":
    {
        "format": ["mp4", "webm", "mobile", "gif"]
    },
    "gofile": {
        "api-token": null,
        "website-token": "12345"
    },
    "hentaifoundry":
    {
        "include": "pictures"
    },
    "hitomi":
    {
        "format": "webp",
        "metadata": false
    },
    "idolcomplex":
    {
        "username": null,
        "password": null,
        "sleep-request": 5.0
    },
    "imgbb":
    {
        "username": null,
        "password": null
    },
    "imgur":
    {
        "mp4": true
    },
    "inkbunny":
    {
        "username": windows10,
        "password": 1314,
        "orderby": "create_datetime"
    },
    "instagram":
    {
        "username": null,
        "password": null,
        "include": "posts",
        "sleep-request": 8.0,
        "videos": true
    },
    "khinsider":
    {
        "format": "mp3"
    },
    "luscious":
    {
        "gif": false
    },
    "mangadex":
    {
        "api-server": "https://api.mangadex.org",
        "api-parameters": null,
        "lang": null,
        "ratings": ["safe", "suggestive", "erotica", "pornographic"]
    },
    "mangoxo":
    {
        "username": null,
        "password": null
    },
    "newgrounds":
    {
        "username": windows10,
        "password": 101314,
        "flash": true,
        "format": "original",
        "include": "art"
    },
    "nijie":
    {
        "username": null,
        "password": null,
        "include": "illustration,doujin"
    },
    "oauth":
    {
        "browser": true,
        "cache": true,
        "host": "localhost",
        "port": 6414
    },
    "paheal":
    {
        "metadata": false
    },
    "pillowfort":
    {
        "external": false,
        "inline": true,
        "reblogs": false
    },
    "pinterest":
    {
        "sections": true,
        "videos": true
    },
    "pixiv":
    {
        "refresh-token": null,
        "include": "artworks",
        "tags": "japanese",
        "ugoira": true
    },
    "reactor":
    {
        "gif": false,
        "sleep-request": 5.0
    },
    "reddit":
    {
        "comments": 0,
        "morecomments": false,
        "date-min": 0,
        "date-max": 253402210800,
        "date-format": "%Y-%m-%dT%H:%M:%S",
        "id-min": "0",
        "id-max": "zik0zj",
        "recursion": 0,
        "videos": true
    },
    "redgifs":
    {
        "format": ["hd", "sd", "gif"]
    },
    "sankakucomplex":
    {
        "embeds": false,
        "videos": true
    },
    "sankaku":
    {
        "username": null,
        "password": null
    },
    "skeb":
    {
        "article": false,
        "sent-requests": false,
        "thumbnails": false
    },
    "smugmug":
    {
        "videos": true
    },
    "seiga":
    {
        "username": null,
        "password": null
    },
    "subscribestar":
    {
        "username": null,
        "password": null
    },
    "tsumino":
    {
        "username": null,
        "password": null
    },
    "tumblr":
    {
        "avatar": false,
        "external": false,
        "inline": true,
        "posts": "all",
        "original": true,
        "reblogs": true
    },
    "twitter":
    {
        "username": null,
        "password": null,
        "cards": false,
        "conversations": false,
        "pinned": false,
        "quoted": false,
        "replies": true,
        "retweets": false,
        "strategy": null,
        "text-tweets": false,
        "twitpic": false,
        "unique": true,
        "users": "timeline",
        "videos": true
    },
    "unsplash":
    {
        "format": "raw"
    },
    "vsco":
    {
        "videos": true
    },
    "wallhaven":
    {
        "api-key": null,
        "metadata": false
    },
    "weasyl":
    {
        "api-key": null,
        "metadata": false
    },
    "weibo":
    {
        "livephoto": true,
        "retweets": true,
        "videos": true
    },
    "ytdl":
    {
        "enabled": false,
        "format": null,
        "generic": true,
        "logging": true,
        "module": null,
        "raw-options": null
    },
    "zerochan":
    {
        "username": null,
        "password": null,
        "metadata": false
    },
    "booru":
    {
        "tags": false,
        "notes": false
    }
},

"downloader":
{
    "filesize-min": null,
    "filesize-max": null,
    "mtime": true,
    "part": true,
    "part-directory": null,
    "progress": 3.0,
    "rate": null,
    "retries": 4,
    "timeout": 30.0,
    "verify": true,

    "http":
    {
        "adjust-extensions": true,
        "headers": null
    },

    "ytdl":
    {
        "format": null,
        "forward-cookies": false,
        "logging": true,
        "module": null,
        "outtmpl": null,
        "raw-options": null
    }
},

"output":
{
    "mode": "auto",
    "progress": true,
    "shorten": true,
    "ansi": false,
    "colors": {
        "success": "1;32",
        "skip"   : "2"
    },
    "skip": true,
    "log": "[{name}][{levelname}] {message}",
    "logfile": null,
    "unsupportedfile": null
},

"netrc": false

}

Twi-Hard commented 2 years ago

Turning both instances of "username": windows10, into "username": "windows10", makes the json valid. I tested it and it works.