Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.52k stars 2.09k forks source link

Arrange the output photos on the basis of target username #537

Open rishinair11 opened 2 years ago

rishinair11 commented 2 years ago

I was tinkering with the Osintgram tool today, during which I discovered the photos command. Kudos to the developers, they have done a fantastic job downloading all the photos of a particular target.

There is one enhancement that can be done though. I observed that the photos are dumped into the output folder with the following filename: <target>_<photo_id>.jpg If I want to download photos of different targets, the folder will be a flat directory of just hundreds of images.

I propose this change, to a hierarchical structure of the output folder.

output
├── dont_delete_this_folder.txt
├── target_1
│   ├── 2661892880972654705_1552784059.jpg
│   └── 2690951453557838074_1552784059.jpg
└── target_2
    ├── 2879901569904497617_45635562290.jpg
    └── 2880124787004280963_45635562290.jpg

2 directories, 4 files

This will ensure the root of the output folder is clean and organized.

PSA: I am proposing this change only for the photos command, but this can be extrapolated into other commands as well.

I can take up this task if you want @Datalux

t-abraham commented 1 year ago

InstAgent 🔎📸

InstAgent is a tool on Instagram to collect, analyze, and run reconnaissance.

The original developer is Datalux.

Since the original version is more or less inactive, I took the initiative to continue with the developments.