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

Feature Request: Keep Reblogs With Owner Response #13

Open
lucible opened this issue Nov 25, 2023 · 1 comment
Open

Feature Request: Keep Reblogs With Owner Response #13

lucible opened this issue Nov 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@lucible
Copy link

lucible commented Nov 25, 2023

Hello! Thanks for your fork of tumblr-utils - all the additional features are very much appreciated.

While the --no-reblog and --only-reblog options are really helpful for narrowing down content on large blogs, I'd love an option to keep only original posts and reblogs where the original blog adds to the reblog. For example, if I'm backing up "alittleblog" and they post a text post then later reblog their own post and add new text underneath, the --no-reblog option will exclude the reblog where alittleblog added new text.

Hope that makes sense -- I took a look at the is_reblog module and it's a bit over my head without having dug into the post HTML so I'm not sure if this is really possible? but would be appreciated if it was. Let me know if there's any other info I could provide that would help.

@cebtenzzre cebtenzzre added the enhancement New feature or request label Nov 25, 2023
@cebtenzzre
Copy link
Owner

This is not straightforward, because AFAIK the Tumblr API doesn't clearly differentiate between reblogs with added content and "pure" reblogs. I think a best-effort solution that works in simple cases such as the one you're describing would involve some basic HTML parsing, implying a BeautifulSoup dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants