Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seperate tags for albums #308

Open
alosoft opened this issue Jul 30, 2021 · 2 comments
Open

seperate tags for albums #308

alosoft opened this issue Jul 30, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@alosoft
Copy link

alosoft commented Jul 30, 2021

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

@alosoft alosoft added the enhancement New feature or request label Jul 30, 2021
@adw0rd adw0rd self-assigned this Jul 30, 2021
@adw0rd
Copy link
Contributor

adw0rd commented Aug 25, 2021

  1. Caption with hashtags
  2. Thumbnail
  3. Location
  4. Usertags

@salomom
Copy link

salomom commented Apr 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants