yogeshwaran01 / instagramy

Python Package for Instagram Users, Posts, and Hashtag data.
https://pypi.org/project/instagramy
MIT License
150 stars 34 forks source link

UsernameNotFound? #30

Open xxsyn-copyxx opened 2 years ago

xxsyn-copyxx commented 2 years ago

Well, since some days, it doesnt work anymore. Everytime i try to run the programm with simple aaccounts like google, it gives me the following error as output:

raise UsernameNotFound(self.url.split("/")[-2]) instagramy.core.exceptions.UsernameNotFound: InstagramUser('google') not Found

thiindolentone commented 2 years ago

instagram changed its session id format, probly has something to do with this?

irvianoyoe commented 2 years ago

when fix this case?

markd49 commented 2 years ago

instagram changed its session it format, probly has something to do with this?

I'm having the same issue, hoping to get any help or update soon with this problem. Thanks!

jahanideveloper commented 2 years ago

I have the same problem.

malikjones commented 2 years ago

I am having the same issue. It also worked last week.

Error: django | File "/usr/local/lib/python3.8/site-packages/instagramy/InstagramUser.py", line 55, in init django | data = self.get_json() django | File "/usr/local/lib/python3.8/site-packages/instagramy/InstagramUser.py", line 83, in get_json django | raise UsernameNotFound(self.url.split("/")[-2]) django | instagramy.core.exceptions.UsernameNotFound: InstagramUser('kurvanacbd') not Found django |

thiindolentone commented 2 years ago

maybe try instaloader for now

markd49 commented 2 years ago

maybe try instaloader for now

Could you share more information about that?

thiindolentone commented 2 years ago

maybe try instaloader for now

Could you share more information about that?

what are you using instagramy to achieve? what information are you trying to extract?

jahanideveloper commented 2 years ago

hi Biography number of followers number of following number of posts and mobile tanks

thiindolentone commented 2 years ago

from instaloader import Instaloader, Profile

PROFILE = "username"

L = Instaloader()

profile = Profile.from_username(L.context, PROFILE)

print(profile.followers)

subsitute followers for followees for followees

for profile you will need to log in. For more info, see

https://instaloader.github.io/