WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.300 --> 00:00:10.400
Hello and welcome back to our final video in

1
00:00:10.400 --> 00:00:13.000
 the section of that Aqua Automation and this video.

2
00:00:13.200 --> 00:00:17.200
 We will do a telegram board.

3
00:00:17.900 --> 00:00:21.500
Automate some dark web monitoring

4
00:00:20.500 --> 00:00:23.300
 that you want to do. In this case.

5
00:00:23.300 --> 00:00:27.000
 We will make it easy for this video and we

6
00:00:26.100 --> 00:00:30.100
 will do links automation.

7
00:00:29.100 --> 00:00:32.600
 So that the board will

8
00:00:32.600 --> 00:00:34.400
 send us a links.

9
00:00:35.300 --> 00:00:36.700
while talking to the boat

10
00:00:38.100 --> 00:00:40.100
Let me show you an example.

11
00:00:44.300 --> 00:00:47.900
Okay, so let me run my board just

12
00:00:47.900 --> 00:00:49.500
 show you how it's working.

13
00:00:50.600 --> 00:00:51.800
This is my bot.

14
00:00:52.700 --> 00:00:53.700
That's how it looks like.

15
00:00:55.900 --> 00:00:57.200
so start

16
00:00:59.700 --> 00:01:02.900
Welcome To Dark web awesome. The usage

17
00:01:02.900 --> 00:01:04.900
 is dark web and the search so

18
00:01:05.900 --> 00:01:08.600
Let's say I want to search for credit cards.

19
00:01:14.500 --> 00:01:15.800
And boom it's working.

20
00:01:16.800 --> 00:01:17.600
so that's how

21
00:01:19.500 --> 00:01:22.400
that's what I want you to learn today how

22
00:01:22.400 --> 00:01:25.100
 to create this but you can get creative and you can

23
00:01:25.100 --> 00:01:28.900
 add anything you want a part of the Dark

24
00:01:28.900 --> 00:01:31.100
 One links generation. It could be

25
00:01:31.100 --> 00:01:34.300
 for keyword searching. It could be for anything else you want.

26
00:01:35.500 --> 00:01:38.300
The concept that will be the same for everything.

27
00:01:40.300 --> 00:01:43.400
okay, so let's get started before creating the

28
00:01:43.400 --> 00:01:45.000
 script and before

29
00:01:45.900 --> 00:01:47.900
we we want anything.

30
00:01:49.300 --> 00:01:52.200
We need to have the bot itself to be.

31
00:01:53.400 --> 00:01:56.000
Available on telegram, so to do that we need to

32
00:01:56.100 --> 00:01:59.300
 go to both further. You can search for it. It's called

33
00:01:59.300 --> 00:02:02.300
 The Board father you press

34
00:02:02.300 --> 00:02:02.700
 start.

35
00:02:05.200 --> 00:02:08.400
Okay, and you create a new board while we're doing

36
00:02:08.400 --> 00:02:10.000
 that because we need an API.

37
00:02:11.400 --> 00:02:15.000
An API key, so you type new

38
00:02:14.000 --> 00:02:15.300
 bot.

39
00:02:16.100 --> 00:02:19.300
It will tell you I need a name so the name

40
00:02:19.300 --> 00:02:19.600
 would be.

41
00:02:20.700 --> 00:02:21.600
dark web

42
00:02:22.800 --> 00:02:23.900
automations

43
00:02:26.200 --> 00:02:29.200
Okay, so good. Now let's choose a username for

44
00:02:29.200 --> 00:02:32.500
 your Bot. It must end. What about so since

45
00:02:32.500 --> 00:02:33.600
 we did the name?

46
00:02:35.600 --> 00:02:36.000
Okay.

47
00:02:37.400 --> 00:02:38.000
Now we add this.

48
00:02:39.300 --> 00:02:40.600
underscore about

49
00:02:41.600 --> 00:02:43.000
And boom now it's ready.

50
00:02:43.800 --> 00:02:46.400
That's our boat. And that's the API.

51
00:02:47.200 --> 00:02:50.300
Keep in mind you must gather this because you need to add it.

52
00:02:50.900 --> 00:02:51.700
to your

53
00:02:55.200 --> 00:02:58.900
Your script, okay, but

54
00:02:58.900 --> 00:02:59.300
 let's start.

55
00:03:01.200 --> 00:03:03.000
Okay, that's our bot.

56
00:03:05.800 --> 00:03:07.900
Now it won't work as we didn't create anything.

57
00:03:10.800 --> 00:03:12.000
Let me change this.

58
00:03:15.400 --> 00:03:15.800
Okay.

59
00:03:25.900 --> 00:03:28.700
So as you can see, I migrated

60
00:03:28.700 --> 00:03:31.300
 my script with the new API key. So now

61
00:03:31.300 --> 00:03:32.900
 it's talking with this boat.

62
00:03:33.600 --> 00:03:36.600
Okay, so let's explain the code. So first

63
00:03:36.600 --> 00:03:39.600
 of all you need to have available.

64
00:03:40.700 --> 00:03:41.700
Library

65
00:03:42.500 --> 00:03:44.000
You can install it by using.

66
00:03:45.400 --> 00:03:46.100
but install

67
00:03:46.800 --> 00:03:49.200
on CMD available as simple

68
00:03:49.200 --> 00:03:49.700
 as that.

69
00:03:50.500 --> 00:03:53.400
I also you need the requests are a

70
00:03:53.400 --> 00:03:54.700
 random. That's the basic.

71
00:03:55.400 --> 00:03:58.500
That's the same as the old script even the the

72
00:03:58.500 --> 00:04:01.200
 function scrape. You just can copy

73
00:04:01.200 --> 00:04:04.200
 paste it but you need to add one line at the end, which is

74
00:04:04.200 --> 00:04:07.100
 return content because we need

75
00:04:07.100 --> 00:04:07.400
 all

76
00:04:08.400 --> 00:04:11.100
we need everything to be returned from this function.

77
00:04:12.900 --> 00:04:13.300
Okay.

78
00:04:14.500 --> 00:04:17.200
So let's explain how we can talk with

79
00:04:17.200 --> 00:04:17.600
 about.

80
00:04:19.300 --> 00:04:22.900
So we need to Define first our API key.

81
00:04:25.200 --> 00:04:26.600
Okay, then.

82
00:04:27.600 --> 00:04:30.300
We add the token here the token to

83
00:04:30.300 --> 00:04:33.500
 be added to the board. So both equal to the

84
00:04:33.500 --> 00:04:35.200
 board not tell about and the token.

85
00:04:37.100 --> 00:04:37.700
Which is this?

86
00:04:40.800 --> 00:04:41.800
API key

87
00:04:46.900 --> 00:04:47.400
and now

88
00:04:48.800 --> 00:04:51.300
we add at both dot messenger

89
00:04:51.300 --> 00:04:51.900
 Handler.

90
00:04:52.700 --> 00:04:55.600
This means when you type start or anything.

91
00:04:58.600 --> 00:05:01.800
You can add two words. Let's say it's either

92
00:05:01.800 --> 00:05:02.500
 this or this.

93
00:05:03.300 --> 00:05:04.200
so the

94
00:05:06.100 --> 00:05:07.300
slash start here

95
00:05:08.300 --> 00:05:08.600
is

96
00:05:09.600 --> 00:05:10.000
here

97
00:05:10.900 --> 00:05:13.400
Okay, so when you type this will display

98
00:05:13.400 --> 00:05:13.700
 this.

99
00:05:14.800 --> 00:05:18.000
So we create a sand welcome message

100
00:05:17.600 --> 00:05:21.100
 both reply to message message

101
00:05:20.100 --> 00:05:23.600
 is basically that start so basically it

102
00:05:23.600 --> 00:05:25.300
 will reply to your message like this.

103
00:05:26.300 --> 00:05:28.100
As you can see it applied to me.

104
00:05:29.400 --> 00:05:30.700
Yes, it's replying to me.

105
00:05:31.300 --> 00:05:33.000
And you can test hello.

106
00:05:37.800 --> 00:05:38.800
And it will work too.

107
00:05:40.300 --> 00:05:43.400
So it's like basic welcome that I told that

108
00:05:43.400 --> 00:05:46.700
 the Boat Works like a dark

109
00:05:46.700 --> 00:05:48.500
 web and we add the word.

110
00:05:49.300 --> 00:05:52.500
X to it so that we search for anything we want for example

111
00:05:52.500 --> 00:05:53.600
 credit cards.

112
00:05:55.500 --> 00:05:58.700
okay, we take the same logic here and we

113
00:05:58.700 --> 00:06:00.300
 create new thing which is

114
00:06:02.100 --> 00:06:04.900
the main thing we need to do here, which is searching for.

115
00:06:05.900 --> 00:06:08.400
links onion links, so

116
00:06:09.200 --> 00:06:10.700
I put dark web.

117
00:06:12.700 --> 00:06:15.500
As an example like here, you can find dark web

118
00:06:15.500 --> 00:06:18.400
 and credit cards or get onion. You can

119
00:06:18.400 --> 00:06:19.800
 use any words you want. It doesn't.

120
00:06:20.400 --> 00:06:23.300
It's not obliged to have the same words

121
00:06:23.300 --> 00:06:24.100
 that I'm writing.

122
00:06:25.600 --> 00:06:28.600
Again, the same function send welcome the

123
00:06:28.600 --> 00:06:31.100
 message that will apply to the dark web and get

124
00:06:31.100 --> 00:06:31.400
 onions.

125
00:06:32.600 --> 00:06:35.800
So I replied with the first message will

126
00:06:35.800 --> 00:06:37.300
 be telling you getting links.

127
00:06:41.800 --> 00:06:42.900
and the data

128
00:06:44.800 --> 00:06:45.700
and the data

129
00:06:46.400 --> 00:06:50.200
A message data, which is this credit cards credit

130
00:06:49.200 --> 00:06:51.400
 cards. It will be saved in.

131
00:06:52.300 --> 00:06:55.300
A variable called Data then I created

132
00:06:55.300 --> 00:06:58.700
 a new variable called new data and I have to

133
00:06:58.700 --> 00:07:01.800
 placed dark web but nothing because since

134
00:07:01.800 --> 00:07:03.700
 I saved everything from this.

135
00:07:04.500 --> 00:07:05.700
I don't want to.

136
00:07:06.700 --> 00:07:09.000
Let all of this date.

137
00:07:11.200 --> 00:07:14.500
Data to go to the function called scrape because it

138
00:07:14.500 --> 00:07:15.700
 will make errors. Okay.

139
00:07:17.100 --> 00:07:20.300
So I need just only these words credit cards everything.

140
00:07:21.300 --> 00:07:23.000
not related to

141
00:07:24.100 --> 00:07:26.100
a slash larkweb or the first word

142
00:07:26.800 --> 00:07:28.200
so we replace it.

143
00:07:28.900 --> 00:07:31.000
So that's a matter of

144
00:07:31.600 --> 00:07:32.300
 logic of programming here.

145
00:07:34.200 --> 00:07:37.300
Then what I did I reply to my

146
00:07:38.200 --> 00:07:39.600
to myself

147
00:07:40.800 --> 00:07:43.200
and I told reply what the function.

148
00:07:44.600 --> 00:07:46.200
along with the data so

149
00:07:47.200 --> 00:07:50.100
If you remember and the first video we passed a

150
00:07:50.100 --> 00:07:53.500
 value called new data that was input here.

151
00:07:54.500 --> 00:07:57.100
But in this time it will be input by Telegram.

152
00:07:58.100 --> 00:08:01.300
When we write the message, so it would be this the data.

153
00:08:03.300 --> 00:08:04.900
for example the credit cards

154
00:08:06.800 --> 00:08:10.100
Credit cards was passed the function and

155
00:08:09.100 --> 00:08:12.500
 now it will give us the links.

156
00:08:14.200 --> 00:08:17.300
And that's it. And at the end you just

157
00:08:17.300 --> 00:08:20.400
 write you always need

158
00:08:20.400 --> 00:08:23.300
 to write this both dot Infinity polling meaning that it

159
00:08:23.300 --> 00:08:26.300
 will work always it's like an infinity loop.

160
00:08:27.600 --> 00:08:28.800
So that's tested.

161
00:08:30.300 --> 00:08:32.200
/ dark web

162
00:08:33.500 --> 00:08:35.200
Let's say drug.

163
00:08:36.000 --> 00:08:36.400
Market

164
00:08:37.800 --> 00:08:40.200
because I spoke a lot about credit cards in this

165
00:08:40.200 --> 00:08:40.300
 course.

166
00:08:42.600 --> 00:08:43.400
getting links

167
00:08:44.200 --> 00:08:45.400
and it's working.

168
00:08:47.200 --> 00:08:48.000
And that's it.

169
00:08:50.300 --> 00:08:52.700
Thank you for watching and see you in the next section.
