johanneszab / TumblThree

A Tumblr Blog Backup Application
https://www.jzab.de/content/tumblthree
MIT License
921 stars 130 forks source link

Separating reblogs from original posts #188

Open tumblthreefan opened 6 years ago

tumblthreefan commented 6 years ago

It would be really useful to have an option to create a subdirectory for reblogs and a main directory than contains original posts. For example:

Blogs folder -Example Tumblr account --(original posts) + Reblogs folder ---(reblogged posts)

Or two folders that separate the entry types completely:

Blogs folder -Example Tumblr account --Original folder + Reblogs folder

Alternatively, an option that adds a "(reblog)" suffix to the filename of downloaded reblogs would also be useful. Are either of these possible?

johanneszab commented 6 years ago

You can do it in a two step process already. First, you only download the original content (untick download reblogs checkbox), move the files, then tick the box and you'll end up with the reblogs only.

Otherwise, if you want to change to code, it's just a few lines if you want to hard code it: You can either change the filename directly in the crawler before adding them to the queue, or add an additional property for reblogs. Or you change the filename in the downloader code by checking the just added reblog property.