mikf / gallery-dl

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

[Instagram] Directory question #3111

Closed DevilDevine closed 1 year ago

DevilDevine commented 1 year ago

When I download from a user, I find that any images tagged with them but uploaded by another user are placed into their own separate folder. Is it possible to have them placed into a subfolder of the initial user in the directory?

I.E gallery-dl\instagram\UsernameA\UsernameB

Apologies if this is something ridiculously simple and I am just missing it completely

mikf commented 1 year ago

No, this is not simple at all. I don't think this is even possible with v1.23.3 without hardcoding UsernameA and some other trickery.

You can try your luck with {tagged_users[0][username]|username} or, with commit https://github.com/mikf/gallery-dl/commit/f168ec957259ff317ec587d51147345f1c027908, {coauthors[0][username]}.

Take a look at issue #3107. The question there seems very much related to your problem.

DevilDevine commented 1 year ago

Thank you for the reply; I will try with the new commit and close this as I didn't realise it was already brought up