sc1341 / InstagramOSINT

An Instagram Open Source Intelligence Tool - Archive
MIT License
1.28k stars 224 forks source link

Wont get all images #17

Closed Aspiringpentester closed 9 months ago

Aspiringpentester commented 4 years ago

I used this tool (with --downloadPhotos) on someone with ~70 posts, but it only downloaded 11. Is there a reason for this?

Cybrarist commented 4 years ago

@Aspiringpentester is there any error message showing up ?

Aspiringpentester commented 4 years ago

No

Aspiringpentester commented 4 years ago

I just now used another post scraping tool, and this time it downloaded 12 posts, but still not all 70. I think this is a thing wrong with Instagram, but if anyone has a solution I'd like to hear it.

Cybrarist commented 4 years ago

@Aspiringpentester I'll check it when I'm back home ,but did you try to change the user agent in the tool ?

Aspiringpentester commented 4 years ago

To be honest, I'm really a programmer, just interested in code. I don't really know what you mean by user agent. I'll look in the code, but I probably won't find it.

Cybrarist commented 4 years ago

@Aspiringpentester no problem , I'll check it and update you :)

Cybrarist commented 4 years ago

@Aspiringpentester ok ,so I was testing it ,and apparently if you open any profile on the web version on Instagram,it will only show the last 16 posts ,it won't show you more even if you scroll down.

this will limit the program to show maximum 16 images.

you can confirm that by going to that person's profile on the browser without logging in,and you should see the 14 images and two videos(probably igtv).

to show more images ,we need to imitate a click on "show more posts from xxxxxx",then get the maxim number of images allowed by insta.

I'll probably try to do that next weekend in case I have free time.

Aspiringpentester commented 4 years ago

Ok thanks.

Aspiringpentester commented 4 years ago

Has there been any updates regarding this issue?

Cybrarist commented 4 years ago

aaaaaaand I forgot about it xDDDD.

my apologies ,I'll try to finish it within this week ,I'll set a reminder XD

Aspiringpentester commented 4 years ago

Ok thanks.

Cybrarist commented 4 years ago

@Aspiringpentester Hi , apologies for being veryyyyy late , i had few things working on , anyway ,i've checked the code and sadly it can not be modified to get the images dynamically as it's using very simple fetching technique instead of using headless browser and interacting with the page , but there sure is another programs on github that can achieve that , i didn't research on them tbh

Aspiringpentester commented 4 years ago

@YnwaFawzy Ok. I guess I'll look into it then.

chris-greening commented 3 years ago

@Aspiringpentester did you end up finding a tool that did what you were looking for?

Aspiringpentester commented 3 years ago

@chris-greening I actually haven't looked into it lol. I don't really have any interest in finding one tbh.