mikf / gallery-dl

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

Furaffinity - How to download descriptions again? #5458

Closed orangecloud12 closed 7 months ago

orangecloud12 commented 7 months ago

The descriptions of furaffinity posts used to be downloaded as separate HTML files, but now they aren't downloaded at all. If possible I would like the format to be 'filename'_'title'.txt, with the contents being the description tag of the post. How would I go about modifying the config file to do this?

Hrxn commented 7 months ago
{
    "extractor":
    {
        "furaffinity": {

            "filename": "{id}{title:? //}.{extension}",
            "directory": ["{category}", "{user!l}"],

            "postprocessors": [
                {
                    "name": "metadata",
                    "event": "post",
                    "filename": "{filename}_{title}.txt",
                    "mode": "custom",
                    "format": "{description}"
                }
            ]
        }
    }
}

Given that {description} is the description content you are looking for... I don't know that, check it with gallery-dl -K <your URL>

orangecloud12 commented 7 months ago
{
    "extractor":
    {
        "furaffinity": {

            "filename": "{id}{title:? //}.{extension}",
            "directory": ["{category}", "{user!l}"],

            "postprocessors": [
                {
                    "name": "metadata",
                    "event": "post",
                    "filename": "{filename}_{title}.txt",
                    "mode": "custom",
                    "format": "{description}"
                }
            ]
        }
    }
}

Given that {description} is the description content you are looking for... I don't know that, check it with gallery-dl -K <your URL>

Thanks, that seems to work perfectly.