gallery-dl icon indicating copy to clipboard operation
gallery-dl copied to clipboard

[Instagram] For posts with two authors, only download it to the folder of the first author.

Open ayvacs opened this issue 1 year ago • 2 comments

Whenever gallery-dl downloads an Instagram post with two authors it saves a copy of the image to the folders of both authors. However I would like to only save it to the folder of the username that I called in the command line, so if I ran

gallery-dl https://instagram.com/author1

And author1 has a joint post with author2, the image would be saved to author1's folder instead of in both author1 and author2. Is that possible?

ayvacs avatar Jan 23 '24 23:01 ayvacs

Use user['full_name'] or user['username'] instead of the default username in your directory format strings.

"directory": ["{category}", "{user['username']}"]

mikf avatar Jan 26 '24 18:01 mikf

@mikf how would I adjust this to make it so that gallery-dl places author2's folder(with image) inside author1s folder when downloading an Instagram post that has two authors?

cheese529 avatar May 13 '24 10:05 cheese529