1
00:00:00,200 --> 00:00:05,690
In a previous lecture, we have seen how we can download an Instagram profile followers and we have

2
00:00:05,690 --> 00:00:08,150
seen how time consuming this was.

3
00:00:08,510 --> 00:00:14,900
In this lecture, I would like to show you a Linux tool that will automate downloading pictures and

4
00:00:14,900 --> 00:00:19,820
videos, along with their captions and metadata from any Instagram account.

5
00:00:20,330 --> 00:00:27,410
This tool can also download Instagram followers and comments, but you want to keep in mind that the

6
00:00:27,410 --> 00:00:31,610
account that you are going to be using with this tool might get banned.

7
00:00:32,060 --> 00:00:37,400
So to install this tool, all you have to do is just to type Pip3 install and install odor.

8
00:00:37,400 --> 00:00:42,830
From my experience, this tool works the best with public Instagram followers.

9
00:00:42,830 --> 00:00:48,770
But when it comes to private accounts, you need to log in with your Sockpuppet account using this tool.

10
00:00:48,800 --> 00:00:54,290
And then sometimes when you download someone's private profile, you might get the access denied error

11
00:00:54,290 --> 00:00:59,390
code, which is 403 because you are abusing this Instagram account.

12
00:00:59,390 --> 00:01:04,460
Which is why I showed you how you can download an Instagram profile manually.

13
00:01:04,460 --> 00:01:04,980
so.

14
00:01:04,980 --> 00:01:10,050
If this tool stopped working in the future, you can always come back to the previous videos that I

15
00:01:10,050 --> 00:01:13,410
made to download an Instagram post and videos.

16
00:01:14,040 --> 00:01:18,960
So the first thing you want to do is to go to your Osint virtual machine, and then you want to open

17
00:01:18,990 --> 00:01:22,290
the terminal as root by clicking on this red icon.

18
00:01:23,130 --> 00:01:25,560
And then you want to type the password Osint.

19
00:01:26,400 --> 00:01:29,670
And the first thing we are going to do is to install this tool.

20
00:01:29,670 --> 00:01:33,120
But before we do this we need to update our Kali repositories.

21
00:01:33,120 --> 00:01:36,090
And we can do this by typing apt update.

22
00:01:37,110 --> 00:01:39,930
So as you can see we have got an error code.

23
00:01:39,930 --> 00:01:45,960
And to fix this issue, all you have to do is just to change your directory to this following path.

24
00:01:45,960 --> 00:01:53,670
So I'm going to say CD etc. apt sources list dot d and then I'm going to hit enter.

25
00:01:53,700 --> 00:01:58,950
And then I'm going to type LS to view all the files and directories in this folder.

26
00:01:59,070 --> 00:02:01,080
And I'm going to delete this file.

27
00:02:01,080 --> 00:02:06,930
So I'm going to say rm and then apt and then tab to autocomplete the file name.

28
00:02:06,930 --> 00:02:08,340
And then I'm going to hit enter.

29
00:02:08,340 --> 00:02:12,980
And if I type ls again, we can see that this file has been deleted.

30
00:02:13,130 --> 00:02:16,520
Now let's come back and update our Kali repositories again.

31
00:02:16,550 --> 00:02:19,490
I'm going to say apt update and hit enter.

32
00:02:20,570 --> 00:02:23,660
And as you can see, I'm not getting this error anymore.

33
00:02:23,690 --> 00:02:28,520
So I'm going to say apt install install loader to install this tool.

34
00:02:29,630 --> 00:02:31,910
And now the installation is completed.

35
00:02:31,910 --> 00:02:37,220
And before I run the tool I would like to show you some options that you can use with this tool.

36
00:02:37,250 --> 00:02:40,220
So I'm going to say install loader like this.

37
00:02:40,220 --> 00:02:43,130
And then minus h to see the help menu.

38
00:02:43,550 --> 00:02:47,480
And here are the options that you can use with this tool.

39
00:02:47,510 --> 00:02:49,760
So I'm going to scroll up.

40
00:02:50,600 --> 00:02:53,540
We can see that there are many options that you can use.

41
00:02:53,720 --> 00:03:00,110
And you don't need to log in to your Sockpuppet account if you would like to download a public Instagram

42
00:03:00,110 --> 00:03:00,860
account.

43
00:03:00,860 --> 00:03:06,650
But if you are trying to download a private Instagram account, then you need to log in, which is something

44
00:03:06,650 --> 00:03:08,480
that I would like to show you as well.

45
00:03:09,020 --> 00:03:14,850
But first of all, let me download a public Instagram account like Cyber Pseudo.

46
00:03:15,270 --> 00:03:23,280
So before I do this, I would like to go to desktop by typing CD and then home Osint desktop.

47
00:03:23,280 --> 00:03:25,560
And now I am in desktop.

48
00:03:25,650 --> 00:03:30,870
And then I'm going to use the tool by typing install loader and then the profile name.

49
00:03:30,870 --> 00:03:33,930
So it's going to be cyber underscore sudo.

50
00:03:34,620 --> 00:03:36,690
And then I'm going to hit enter.

51
00:03:37,530 --> 00:03:44,400
And this should generate a folder on my desktop and download all the pictures that has been posted on

52
00:03:44,400 --> 00:03:45,390
this account.

53
00:03:46,200 --> 00:03:50,370
And since I have 100 posts then this might take some time.

54
00:03:51,990 --> 00:03:54,750
And now this Instagram profile has been downloaded.

55
00:03:54,750 --> 00:03:56,040
Let me check it out.

56
00:03:56,040 --> 00:03:59,490
So here we have a folder on my desktop called Cyber Sudo.

57
00:03:59,520 --> 00:04:01,080
I'm going to open it.

58
00:04:01,620 --> 00:04:07,380
And here are all the posts that I have posted on my Instagram account, along with a.

59
00:04:07,380 --> 00:04:10,740
TXT file that contains additional information.

60
00:04:10,830 --> 00:04:15,570
For example, let's have a look at the first picture that was posted in 2021.

61
00:04:15,600 --> 00:04:20,980
We can see the date and time when this image has been posted in UTC time.

62
00:04:21,790 --> 00:04:26,440
So I can open it and we can see that it is a high resolution image.

63
00:04:26,980 --> 00:04:31,150
And then I'm going to close this window and open the txt file.

64
00:04:32,020 --> 00:04:37,150
And here we can see the text or the caption of this image when it got posted.

65
00:04:38,230 --> 00:04:40,150
We can also see an archived file.

66
00:04:40,150 --> 00:04:41,590
So let me open it.

67
00:04:41,620 --> 00:04:46,000
And we can see here a JSON file that also belongs to this post.

68
00:04:46,000 --> 00:04:51,100
And once I open it we can see information or metadata about this image.

69
00:04:52,330 --> 00:04:58,720
Now for me this is not important because it mostly contains information about the account that has made

70
00:04:58,720 --> 00:05:02,260
this post and links to download this post.

71
00:05:03,670 --> 00:05:08,380
We can also see that there are some videos that has been downloaded, which means that this tool does

72
00:05:08,380 --> 00:05:12,790
not only download posts, but it also downloads Instagram videos.

73
00:05:13,300 --> 00:05:15,580
Now let's come back to the help menu again.

74
00:05:15,580 --> 00:05:19,090
So I'm going to say install loader and then minus h.

75
00:05:19,880 --> 00:05:22,310
And then I'm going to scroll up.

76
00:05:22,550 --> 00:05:27,410
And here we can see that if you would like to log in with your account, with your Sockpuppet account,

77
00:05:27,410 --> 00:05:32,750
for example, then you can use the minus L option and then you can provide your username.

78
00:05:33,740 --> 00:05:35,570
Now let me scroll up.

79
00:05:36,440 --> 00:05:42,830
And here you can see that if you would like to not download post then you can use this option.

80
00:05:42,860 --> 00:05:47,090
And if you would like to not download the profile picture then you can use this switch.

81
00:05:47,090 --> 00:05:53,990
And if you would like to download videos like highlights, tagged or iGTV videos, then you can use

82
00:05:53,990 --> 00:05:55,190
these options.

83
00:05:57,050 --> 00:06:02,030
And if you would like to download comments then you can use the minus Capital C option.

84
00:06:02,330 --> 00:06:10,250
Now let me show you how you can log in to your account and download a private Instagram profile.

85
00:06:11,300 --> 00:06:16,250
So I'm going to try to download this private Instagram account.

86
00:06:16,460 --> 00:06:23,210
And you want to make sure that the account that you need to use to log in to your account using Insta

87
00:06:23,210 --> 00:06:29,050
Estelle Loader has to be following this account because without following this private account, you

88
00:06:29,050 --> 00:06:31,660
won't be able to download their profiles.

89
00:06:31,810 --> 00:06:39,760
And I'm going to show you the issues that might occur when you try to download a private Instagram account

90
00:06:39,760 --> 00:06:41,920
using tools like this.

91
00:06:43,090 --> 00:06:50,110
So first of all, let me copy the username and then I'm going to say install loader and then login to

92
00:06:50,140 --> 00:06:53,710
my fake account using the minus L search operator.

93
00:06:53,710 --> 00:06:57,910
And then I'm going to add the username of my fake account.

94
00:06:58,600 --> 00:07:05,080
And now I'm going to add the username of the profile that I would like to download, which is this one

95
00:07:05,080 --> 00:07:06,100
in this case.

96
00:07:06,310 --> 00:07:07,990
So I'm going to hit enter.

97
00:07:07,990 --> 00:07:12,550
And now I need to enter the password of my fake Instagram account.

98
00:07:12,550 --> 00:07:16,840
And as you can see I were able to log in as my fake account.

99
00:07:16,840 --> 00:07:22,210
And now all the videos or photos has to start downloading.

100
00:07:22,210 --> 00:07:28,970
So I'm going to open the folder and you can see photos of this private account.

101
00:07:30,590 --> 00:07:33,140
And now the download is completed.

102
00:07:33,470 --> 00:07:40,820
We can open the folder and we can see all the pictures that he has posted on his Instagram account.

103
00:07:41,540 --> 00:07:46,310
Now sometimes you are going to get 401 error code.

104
00:07:46,370 --> 00:07:52,370
And if you have got this error, then you need to delete the configuration file or the session file

105
00:07:52,370 --> 00:07:53,750
of your fake account.

106
00:07:53,750 --> 00:07:55,760
So we can see the full path in here.

107
00:07:55,760 --> 00:08:04,430
All we have to do is just to type RM and then copy this path and paste it in here like this and hit

108
00:08:04,430 --> 00:08:05,090
enter.

109
00:08:05,090 --> 00:08:10,130
And now whenever you try to download another private account it's going to ask you for your password.

110
00:08:10,130 --> 00:08:10,700
Again.

111
00:08:10,700 --> 00:08:13,700
You can enter it and download another profile.

112
00:08:14,690 --> 00:08:21,560
Lastly, it's very important to know that sometimes Instagram will know that you are abusing this account

113
00:08:21,590 --> 00:08:26,300
to download private account and they will try to kick you out of your account.

114
00:08:26,300 --> 00:08:31,760
So all you have to do is just to go to Instagram again and then enter your credentials again and log

115
00:08:31,760 --> 00:08:32,270
in.