mikf / gallery-dl

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

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

Open ayvacs opened 8 months ago

ayvacs commented 8 months ago

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?

mikf commented 7 months ago

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

"directory": ["{category}", "{user['username']}"]
cheese529 commented 4 months ago

@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?