How do I use keywords with multiple brackets? #6943
-
When I run gallery-dl with the
How do I add that to my conf file? Because everything I've tried so far failed, it just gave me "None". Here's how I'm trying to do it.
The PS: What does the "N" mean? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The JSON output from "version": {
"files": [
{
"hashes": [],
"id": 130654,
"metadata": {
"format": "SafeTensor",
"fp": null,
"size": null
},
"modelVersionId": 171702,
"name": "Classic Western Dragons XL.safetensors",
"pickleScanMessage": "No Pickle imports",
"pickleScanResult": "Success",
"scannedAt": "2023-09-28T14:45:54.541Z",
"sizeKB": 167426.91796875,
"type": "Model",
"url": "https://civitai-delivery-worker-prod-2023-09-01.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/model/606136/classic20western.oYyG.safetensors",
"virusScanMessage": null,
"virusScanResult": "Success",
"visibility": "Public"
}
]
} |
Beta Was this translation helpful? Give feedback.
version['files']
is a list of objects, with[N]
being the index into that list (e.g. a Number).-K
or standard format strings can't handle these very well, but you should be able to access the first item withversion['files'][0]['url']
.The JSON output from
-j
is more useful here: