InstagramOSINT icon indicating copy to clipboard operation
InstagramOSINT copied to clipboard

Username not found

Open DocKali opened this issue 5 years ago • 80 comments

Hi, I'm currently trying to test this tool but I have a problem. I try to run the tool on 2 existing Insta account but the two times the tool send a "Username not found" message... Did I have to specify my username and pass in the tool to run it? Where does the error come from? Thanks for your help!

DocKali avatar Nov 09 '19 13:11 DocKali

Hi, I'm also facing the same issue. Kindly please give a response. Thank you :)

Kithu29 avatar May 13 '20 14:05 Kithu29

same here, I'm suspecting this is because of the Instagram's website UI changes or something. Any help would be appreciated, thank you.

Abhishek-Deshmukh avatar May 17 '20 09:05 Abhishek-Deshmukh

I have tried on many systems same problem

Manan-hellsangel62626 avatar May 31 '20 06:05 Manan-hellsangel62626

so. it's not a perfect solution , but it works i just replace these two line self.description = json.loads(description.get_text()) self.profile_meta = json.loads(more_data[3].get_text()[21:].strip(';')) with
self.description = json.loads(description.string) self.profile_meta = json.loads(more_data[3].string[21:].strip(';'))

apparently , get_text() is returning nothing for some reason.

anyway , this is the whole file for main.py in case you need it instead of replacing manually main.zip

have fun

Cybrarist avatar Jun 01 '20 14:06 Cybrarist

Mismo Problemaaa

DjChart avatar Jun 10 '20 15:06 DjChart

same problem

Geoveza avatar Jun 13 '20 15:06 Geoveza

@Geoveza @DjChart is my solution above not working?

Cybrarist avatar Jun 13 '20 20:06 Cybrarist

everytime i put a username it shows Username xxccdd not found

gituu4567 avatar Jun 25 '20 14:06 gituu4567

try using this method $ sudo apt install software-properties-common and try agian ♥

mrsilas666 avatar Jul 05 '20 15:07 mrsilas666

Same problem

akshaysmarty00786 avatar Jul 12 '20 12:07 akshaysmarty00786

Same problem

akshaysmarty00786 avatar Jul 12 '20 12:07 akshaysmarty00786

@YnwaFawzy still not working

spctr01 avatar Jul 15 '20 17:07 spctr01

It works thanks @YnwaFawzy!!

tina1998612 avatar Jul 30 '20 16:07 tina1998612

@tina1998612 Mine still not working, can you provide your fixed code?

mathiznogoud avatar Aug 09 '20 17:08 mathiznogoud

@mathiznogoud did you try the file in my comment up?

Cybrarist avatar Aug 09 '20 18:08 Cybrarist

I tried the zip and it doesn't work

Desze avatar Aug 11 '20 08:08 Desze

@Desze did you try it alone? or replaced the main.py inside with the one in the repository?

Cybrarist avatar Aug 11 '20 08:08 Cybrarist

@YnwaFawzy I replaced the main.py in the folder But it still doesn't work for me.

Desze avatar Aug 11 '20 08:08 Desze

@Desze you tried by using python3 and python2, right?

Cybrarist avatar Aug 11 '20 08:08 Cybrarist

@YnwaFawzy Yes

InstagramOSINT$ python3 main.py --username desze

[*] Starting Scan on desze list index out of range Username desze not found

Desze avatar Aug 11 '20 08:08 Desze

@Desze can you zip the whole folder and send it, I'll check it after 9 hours approx. (at night).

Cybrarist avatar Aug 11 '20 08:08 Cybrarist

@Desze so I tried to search for your username and couldn't find it.

are you sure this is your username?

Cybrarist avatar Aug 11 '20 09:08 Cybrarist

@Desze try a different username, it should work fine.

it worked fine for me on 2 different machines with different operating systems

Cybrarist avatar Aug 11 '20 09:08 Cybrarist

@Desze
So i checked your profile on the web browser , and strangely the description field doesn't exist ( as the json schema that should represent your profile

a quick fix is i checked if the json schema exist by adding

            if( description is not None):
              self.description = json.loads(description.string)

and then i divided the output into two parts ,the basic one and the description

` self.profile_data = {"Username": self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user']['username'], "Followers": self.text[0], "Following": self.text[2], "Posts": self.text[4], "Bio": str( self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user']['biography']), "profile_pic_url": str(self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user'][ 'profile_pic_url_hd']), "is_business_account": str( self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user'][ 'is_business_account']), "connected_to_fb": str(self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user'][ 'connected_fb_page']), "externalurl": str( self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user']['external_url']), "joined_recently": str(self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user'][ 'is_joined_recently']), "business_category_name": str( self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user'][ 'business_category_name']), "is_private": str( self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user']['is_private']), "is_verified": str( self.profile_meta['entry_data']['ProfilePage'][0]['graphql']['user']['is_verified'])}

`

and for the description if found if (description is not None): { "Profile name": self.description['name'], "URL": self.description['mainEntityofPage']['@id'], }

it should be working fine now , you can get the new file main.py.zip

Cybrarist avatar Aug 11 '20 09:08 Cybrarist

@YnwaFawzy It works for me now on that guy's Instagram Instagram.com/desze But in mine Instagram.com/idesze doesn't work

Desze avatar Aug 11 '20 09:08 Desze

@Desze it works for m , can you do a simple pprint when the error happens Screen Shot 2020-08-11 at 1 41 55 PM

Cybrarist avatar Aug 11 '20 09:08 Cybrarist

Captura de pantalla de 2020-08-11 04-57-43

Desze avatar Aug 11 '20 10:08 Desze

@Desze can you do a pprint before and after the profile_meta (line 78) to see if it was the reason

Cybrarist avatar Aug 11 '20 10:08 Cybrarist

Captura de pantalla de 2020-08-11 05-25-15

Desze avatar Aug 11 '20 10:08 Desze

@Desze just add pprint("hello1") on line 76 and pprint("hello2") on line 78 and then run the program again

i just want to know where there error is getting thrown

Cybrarist avatar Aug 11 '20 10:08 Cybrarist