Replies: 2 comments
-
|
With command-line arguments or a config file setting: https://gdl-org.github.io/docs/configuration.html#extractor-filename {
"extractor": {
"hentaifoundry": {
"filename": "your filename template here"
}
}
} |
Beta Was this translation helpful? Give feedback.
-
|
Yes, I used a configuration file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not an experienced programmer and use Windows. How can I change the extractor settings in Standalone Executable for a specific website without using a template?
Example
For hentaifoundry, the filename template is filename_fmt = "{category}{index}{title}.{extension}"
If you save a picture manually from the website, its name will have the template {user}-{index}-{title2}.{extension}, where title2 is the name without special characters (spaces, colons, etc.).
hentaifoundry_1183675_#27 Contortionist show ♥♥♥😜.jpg - result of gallery-dl
VicoNega-1183675-27_Contortionist_show_.jpg - result of manual download
If I add the line filename_fmt = "{user}-{index}-{title2}.{extension}" to gallery-dl.conf, it will match exactly for simple filenames, but will not match for all.
VicoNega-1183675-#27 Contortionist show ♥♥♥😜.jpg - result of gallery-dl with modified config
I found how hentaifoundry.py gets links and names, and I think I can change the filename to the format I need, but how do I do this for the executable file? Or at least force it to use an external py-script.
Beta Was this translation helpful? Give feedback.
All reactions