subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.38k stars 685 forks source link

Is any way to getting uploaded photo/album URL #1368

Closed ardinusawan closed 1 year ago

ardinusawan commented 1 year ago

Is your feature request related to a problem? Please describe. in this function .photo_upload or .album_upload is any way to getting upload url from the return?

Describe the solution you'd like media = cl.photo_upload() media.url

Describe alternatives you've considered Or anyway to getting url from media_id or media_pk?

Additional context

adw0rd commented 1 year ago

Print media.dict() and see all attributes

https://github.com/adw0rd/instagrapi/blob/master/instagrapi/types.py#L119

https://github.com/adw0rd/instagrapi/blob/master/instagrapi/types.py#L132

ardinusawan commented 1 year ago

That is thumbnail url and video url, is there any way for getting feed url?