instagrapi
instagrapi copied to clipboard
seperate tags for albums
Is your feature request related to a problem? Please describe. Currently user tags are only applied to the first media in an album
Describe the solution you'd like It would be great if you could set different tags for each media in an album
- Caption with hashtags
- Thumbnail
- Location
- Usertags
The fix would be quite easy, the line that needs changing is the following: ([0] is the image number) https://github.com/adw0rd/instagrapi/blob/72f4456e8f1e7252f1dbd1ede4af3c868880698a/instagrapi/mixins/album.py#L257 I'd submit a pull request, however I'm not sure how to pass the parameter to the function to keep it downwards compatible.
Maybe allow a list of tuples to be passed like (usertag, image_number)? There would be 2 accepted parameter types then, a list of usertags and a list of tuples. Is this still okay with your style guide? @adw0rd https://github.com/adw0rd/instagrapi/blob/72f4456e8f1e7252f1dbd1ede4af3c868880698a/instagrapi/mixins/album.py#L116