diezo / Ensta

🔥 Fast & Reliable Python Package For Instagram API - 2024
https://bit.ly/ensta-discord
MIT License
371 stars 44 forks source link

No attribute for Profile Category #26

Closed lazyaccountant closed 1 year ago

lazyaccountant commented 1 year ago

Hi diezo,

Thanks for the project. This has to be fastest Instagram API I have used. I noticed the Profile class has no category attribute. Is there a way to also get the Instagram profile category?

diezo commented 1 year ago

Hi @lazyaccountant

Thankyou for using ensta. The profile class already has category attributes such as personal/professional/business and public/private account type.

If you mean something else, please do mention it here.

lazyaccountant commented 1 year ago

Some instagram accounts hve category name in their profile i.e. Fashion Model, Sportsperson, etc. That's what I was referring to

diezo commented 1 year ago

I've added the attribute in v4.6

  1. Update ensta: pip install ensta --upgrade
  2. Here's the code
    
    from ensta import Guest

guest = Guest() print(guest.profile("cristiano").category_name)

lazyaccountant commented 1 year ago

Blessings and Gratitude.