Closed cheese529 closed 1 year ago
Does your config file get listed as "Configuration Files" when running with --verbose
?
[gallery-dl][debug] Configuration Files ['${HOME}/.gallery-dl.conf']
Make sure your config file is at one of the paths listed here.
my config file is listed in a path there and i know it is using it because it wouldn't be able to download my deviantart favourites without the config file(since it has to refresh token)
Refresh tokens also work without config file, so that's not necessarily an indicator that everything is as it is supposed to be.
Is your filename setting inside deviantart
, which itself is inside extractor
?
{
"extractor": {
"deviantart": {
"filename": "test"
}
}
}
$ gallery-dl -c cfg.json https://www.deviantart.com/anthrokim/art/The-Year-of-the-Rabbit-947571468
/tmp/deviantart/Anthrokim/test
{
"extractor":
{
"base-directory": "D:/New/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",
"path-extended": true,
"extension-map": {
"jpeg": "jpg",
"jpe" : "jpg",
"jfif": "jpg",
"jif" : "jpg",
"jfi" : "jpg"
},
"artstation":
{
"external": false,
"pro-first": true
},
"aryion":
{
"username": null,
"password": null,
"recursive": true
},
"bbc": {
"width": 1920
},
"blogger":
{
"videos": true
},
"cyberdrop":
{
"domain": null
},
"danbooru":
{
"username": null,
"password": null,
"external": false,
"metadata": false,
"ugoira": false
},
"derpibooru":
{
"api-key": null,
"filter": 56027
},
"deviantart":
{
"filename": "{filename}.{extension}",
"client-id": "12345",
"client-secret": "***",
"refresh-token": "***",
"auto-watch": true,
"auto-unwatch": true,
"comments": false,
"extra": true,
"flat":true,
"folders":false,
"group": true,
"include": "all",
"journals": "html",
"mature": true,
"metadata": true,
"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": null,
"password": null,
"orderby": "create_datetime"
},
"instagram":
{
"filename": "{date:%Y-%m-%d} {filename}.{extension}",
"api": "rest",
"cookies": null,
"include": "posts",
"sleep-request": [6.0, 12.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": null,
"password": null,
"flash": true,
"format": "original",
"include": "art"
},
"nana":
{
"favkey": null
},
"nijie":
{
"username": null,
"password": null,
"include": "illustration,doujin"
},
"nitter": {
"quoted": false,
"retweets": false,
"videos": true
},
"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",
"metadata": false,
"tags": "japanese",
"ugoira": true
},
"reactor":
{
"gif": false,
"sleep-request": 5.0
},
"reddit":
{
"filename": "{title} {date:%Y-%m-%d} {id}.{extension}",
"comments": 0,
"morecomments": false,
"date-min": 0,
"date-max": 253402210800,
"date-format": "%Y-%m-%dT%H:%M:%S",
"id-min": null,
"id-max": null,
"recursion": 0,
"videos": true
},
"redgifs":
{
"format": ["hd", "sd", "gif"]
},
"sankaku":
{
"username": null,
"password": null,
"refresh": false
},
"sankakucomplex":
{
"embeds": false,
"videos": true
},
"skeb":
{
"article": false,
"filters": null,
"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":true,
"external": true,
"inline": true,
"posts": "all",
"offset": 0,
"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,
"include": "uploads"
},
"weasyl":
{
"api-key": null,
"metadata": false
},
"weibo":
{
"livephoto": true,
"retweets": true,
"videos": true
},
"ytdl":
{
"config-file": "C:/Users/Mohammad Noor/AppData/Roaming/yt-dlp/config"
"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,
"chunk-size": 32768,
"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
}
here's my config file. im pretty sure im doing it correct but please let me know if there is something i am doing wrong here
There is a comma missing after line 359
[config][warning] Could not parse 'cfg.json': Expecting ',' delimiter: line 360 column 13 (char 8220)
"config-file": "C:/Users/Mohammad Noor/AppData/Roaming/yt-dlp/config"
trying some of the different options i got using -K to rename my deviantart files and none of them are working, it keeps downloading the default file. can anyone please help? i am using the default config that comes with the program for more clarification