In a previous lecture, we have seen how we can download an Instagram profile followers and we have
seen how time consuming this was.
In this lecture, I would like to show you a Linux tool that will automate downloading pictures and
videos, along with their captions and metadata from any Instagram account.
This tool can also download Instagram followers and comments, but you want to keep in mind that the
account that you are going to be using with this tool might get banned.
So to install this tool, all you have to do is just to type Pip3 install and install odor.
From my experience, this tool works the best with public Instagram followers.
But when it comes to private accounts, you need to log in with your Sockpuppet account using this tool.
And then sometimes when you download someone's private profile, you might get the access denied error
code, which is 403 because you are abusing this Instagram account.
Which is why I showed you how you can download an Instagram profile manually.
so.
If this tool stopped working in the future, you can always come back to the previous videos that I
made to download an Instagram post and videos.
So the first thing you want to do is to go to your Osint virtual machine, and then you want to open
the terminal as root by clicking on this red icon.
And then you want to type the password Osint.
And the first thing we are going to do is to install this tool.
But before we do this we need to update our Kali repositories.
And we can do this by typing apt update.
So as you can see we have got an error code.
And to fix this issue, all you have to do is just to change your directory to this following path.
So I'm going to say CD etc. apt sources list dot d and then I'm going to hit enter.
And then I'm going to type LS to view all the files and directories in this folder.
And I'm going to delete this file.
So I'm going to say rm and then apt and then tab to autocomplete the file name.
And then I'm going to hit enter.
And if I type ls again, we can see that this file has been deleted.
Now let's come back and update our Kali repositories again.
I'm going to say apt update and hit enter.
And as you can see, I'm not getting this error anymore.
So I'm going to say apt install install loader to install this tool.
And now the installation is completed.
And before I run the tool I would like to show you some options that you can use with this tool.
So I'm going to say install loader like this.
And then minus h to see the help menu.
And here are the options that you can use with this tool.
So I'm going to scroll up.
We can see that there are many options that you can use.
And you don't need to log in to your Sockpuppet account if you would like to download a public Instagram
account.
But if you are trying to download a private Instagram account, then you need to log in, which is something
that I would like to show you as well.
But first of all, let me download a public Instagram account like Cyber Pseudo.
So before I do this, I would like to go to desktop by typing CD and then home Osint desktop.
And now I am in desktop.
And then I'm going to use the tool by typing install loader and then the profile name.
So it's going to be cyber underscore sudo.
And then I'm going to hit enter.
And this should generate a folder on my desktop and download all the pictures that has been posted on
this account.
And since I have 100 posts then this might take some time.
And now this Instagram profile has been downloaded.
Let me check it out.
So here we have a folder on my desktop called Cyber Sudo.
I'm going to open it.
And here are all the posts that I have posted on my Instagram account, along with a.
TXT file that contains additional information.
For example, let's have a look at the first picture that was posted in 2021.
We can see the date and time when this image has been posted in UTC time.
So I can open it and we can see that it is a high resolution image.
And then I'm going to close this window and open the txt file.
And here we can see the text or the caption of this image when it got posted.
We can also see an archived file.
So let me open it.
And we can see here a JSON file that also belongs to this post.
And once I open it we can see information or metadata about this image.
Now for me this is not important because it mostly contains information about the account that has made
this post and links to download this post.
We can also see that there are some videos that has been downloaded, which means that this tool does
not only download posts, but it also downloads Instagram videos.
Now let's come back to the help menu again.
So I'm going to say install loader and then minus h.
And then I'm going to scroll up.
And here we can see that if you would like to log in with your account, with your Sockpuppet account,
for example, then you can use the minus L option and then you can provide your username.
Now let me scroll up.
And here you can see that if you would like to not download post then you can use this option.
And if you would like to not download the profile picture then you can use this switch.
And if you would like to download videos like highlights, tagged or iGTV videos, then you can use
these options.
And if you would like to download comments then you can use the minus Capital C option.
Now let me show you how you can log in to your account and download a private Instagram profile.
So I'm going to try to download this private Instagram account.
And you want to make sure that the account that you need to use to log in to your account using Insta
Estelle Loader has to be following this account because without following this private account, you
won't be able to download their profiles.
And I'm going to show you the issues that might occur when you try to download a private Instagram account
using tools like this.
So first of all, let me copy the username and then I'm going to say install loader and then login to
my fake account using the minus L search operator.
And then I'm going to add the username of my fake account.
And now I'm going to add the username of the profile that I would like to download, which is this one
in this case.
So I'm going to hit enter.
And now I need to enter the password of my fake Instagram account.
And as you can see I were able to log in as my fake account.
And now all the videos or photos has to start downloading.
So I'm going to open the folder and you can see photos of this private account.
And now the download is completed.
We can open the folder and we can see all the pictures that he has posted on his Instagram account.
Now sometimes you are going to get 401 error code.
And if you have got this error, then you need to delete the configuration file or the session file
of your fake account.
So we can see the full path in here.
All we have to do is just to type RM and then copy this path and paste it in here like this and hit
enter.
And now whenever you try to download another private account it's going to ask you for your password.
Again.
You can enter it and download another profile.
Lastly, it's very important to know that sometimes Instagram will know that you are abusing this account
to download private account and they will try to kick you out of your account.
So all you have to do is just to go to Instagram again and then enter your credentials again and log
in.