how to save metadata like file url? #3026
-
I found https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractorurl-metadata but i dont know how to use it right. I dont see where gdl_path or [gdl_path.filename} is coming from in the example either. I want to get the url of a image or video that is saved and put it into a file or in the file metadata. I dont care where or how. #2985 i made this issue before and i would like to save the url that is being passed to yt-dl so i can redownload it if the file is corrupted or if i accidentally delete it or any other regular photo or video |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Simply set the option like this: {
"extractor":
{
"artstation":
{
"url-metadata": "url_metadata_example"
}
}
} This will now add |
Beta Was this translation helpful? Give feedback.
Simply set the option like this:
This will now add
url_metadata_example
into the metadata dict, which can be used in file or directory names, or in postprocessors like this:" ... {url_metadata_example} ... "