Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to grab purely plaintext tumblr posts from a user when ripping their gallery? #2917

Closed
left1000 opened this issue Sep 15, 2022 · 1 comment

Comments

@left1000
Copy link

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.

@mikf
Copy link
Owner

mikf commented Sep 16, 2022

Basically #1569 (comment).

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]}"
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants