Hello and welcome back to our final video in
the section of that Aqua Automation and this video.
We will do a telegram board.
Automate some dark web monitoring
that you want to do. In this case.
We will make it easy for this video and we
will do links automation.
So that the board will
send us a links.
while talking to the boat
Let me show you an example.
Okay, so let me run my board just
show you how it's working.
This is my bot.
That's how it looks like.
so start
Welcome To Dark web awesome. The usage
is dark web and the search so
Let's say I want to search for credit cards.
And boom it's working.
so that's how
that's what I want you to learn today how
to create this but you can get creative and you can
add anything you want a part of the Dark
One links generation. It could be
for keyword searching. It could be for anything else you want.
The concept that will be the same for everything.
okay, so let's get started before creating the
script and before
we we want anything.
We need to have the bot itself to be.
Available on telegram, so to do that we need to
go to both further. You can search for it. It's called
The Board father you press
start.
Okay, and you create a new board while we're doing
that because we need an API.
An API key, so you type new
bot.
It will tell you I need a name so the name
would be.
dark web
automations
Okay, so good. Now let's choose a username for
your Bot. It must end. What about so since
we did the name?
Okay.
Now we add this.
underscore about
And boom now it's ready.
That's our boat. And that's the API.
Keep in mind you must gather this because you need to add it.
to your
Your script, okay, but
let's start.
Okay, that's our bot.
Now it won't work as we didn't create anything.
Let me change this.
Okay.
So as you can see, I migrated
my script with the new API key. So now
it's talking with this boat.
Okay, so let's explain the code. So first
of all you need to have available.
Library
You can install it by using.
but install
on CMD available as simple
as that.
I also you need the requests are a
random. That's the basic.
That's the same as the old script even the the
function scrape. You just can copy
paste it but you need to add one line at the end, which is
return content because we need
all
we need everything to be returned from this function.
Okay.
So let's explain how we can talk with
about.
So we need to Define first our API key.
Okay, then.
We add the token here the token to
be added to the board. So both equal to the
board not tell about and the token.
Which is this?
API key
and now
we add at both dot messenger
Handler.
This means when you type start or anything.
You can add two words. Let's say it's either
this or this.
so the
slash start here
is
here
Okay, so when you type this will display
this.
So we create a sand welcome message
both reply to message message
is basically that start so basically it
will reply to your message like this.
As you can see it applied to me.
Yes, it's replying to me.
And you can test hello.
And it will work too.
So it's like basic welcome that I told that
the Boat Works like a dark
web and we add the word.
X to it so that we search for anything we want for example
credit cards.
okay, we take the same logic here and we
create new thing which is
the main thing we need to do here, which is searching for.
links onion links, so
I put dark web.
As an example like here, you can find dark web
and credit cards or get onion. You can
use any words you want. It doesn't.
It's not obliged to have the same words
that I'm writing.
Again, the same function send welcome the
message that will apply to the dark web and get
onions.
So I replied with the first message will
be telling you getting links.
and the data
A message data, which is this credit cards credit
cards. It will be saved in.
A variable called Data then I created
a new variable called new data and I have to
placed dark web but nothing because since
I saved everything from this.
I don't want to.
Let all of this date.
Data to go to the function called scrape because it
will make errors. Okay.
So I need just only these words credit cards everything.
not related to
a slash larkweb or the first word
so we replace it.
So that's a matter of
logic of programming here.
Then what I did I reply to my
to myself
and I told reply what the function.
along with the data so
If you remember and the first video we passed a
value called new data that was input here.
But in this time it will be input by Telegram.
When we write the message, so it would be this the data.
for example the credit cards
Credit cards was passed the function and
now it will give us the links.
And that's it. And at the end you just
write you always need
to write this both dot Infinity polling meaning that it
will work always it's like an infinity loop.
So that's tested.
/ dark web
Let's say drug.
Market
because I spoke a lot about credit cards in this
course.
getting links
and it's working.
And that's it.
Thank you for watching and see you in the next section.