gallery-dl
gallery-dl copied to clipboard
Is there a way to grab purely plaintext tumblr posts from a user when ripping their gallery?
Is there a way to grab purely plaintext tumblr posts from a user when ripping their gallery?
I'd assume yes? But it eludes me.
Basically https://github.com/mikf/gallery-dl/issues/1569#issuecomment-846428927.
Use a metadats post processor with "event": "post" and appropriate "filename". If you only want the text content and not the entire metadata, add "mode": "custom" and an appropriate "format". The text content should be in {reblog[comment]}, but that might not be the case for all different post types. You can "filter" for text-only posts with "count == 0" or "not count".
{
"name": "metadata",
"event": "post",
"filename": "{id}.txt",
"mode": "custom",
"format": "{reblog[comment]}"
}