I Want To Learn boting and automation

robin69

Power Member
Joined
Sep 13, 2013
Messages
567
Reaction score
116
Hello Handsome Hunks,

I want to learn botting and automation. I have been through several course like pyhon, angular js, selenium.

I am pretty confused after going through all.

My Purpose:

1. I want to automate some browser task like signup process.

2. Scrap raw data and manipulate it into sites

3. Automate task like proxies scrapping, email exttacting, expired domain finding, domain hunting etc.

4. Most of the tasks are related to seo and bavklinks.


My Questions
1 where to start from?
2 what language shall I learn first?
3 can you share some best sources of books and videos, courses?
4 Bring newbie what precautions I should take?
5. If I don't have any coding do.i need to learn any language first?

6.
 
everbody will recommend python, google is your best friend
 
Have you tried Browser Automation Studio?
Some of the tasks you mentioned can certainly be done using BAS.
 
Read a lot before you start, ie the docs of the packages you want to use, as well as the docs of the underlying frameworks etc. Also subscribe to as many security and anti-bot company blogs as you can to get insight from the other side. Like with "hacking" (rolleyes :rolleyes:) the best way to learn is to understand how to stop attacks first and then work backwards.

Everyone is going to do things a little differently, so I can only give my perspective.

My personal stack is:

Multilogin
Even though it's not perfect, it's the only solution I've found that comes close to doing what it says on the box. Plus it is the only anti-fingerprint solution that works with Puppeteer.

Puppeteer-Extra + Puppeteer-Extra-Stealth
Vanilla Puppeteer is very easy to detect, and if you want to use a plugin Captcha solver, you need Extra. Even with these, you'll need to chip away at certain things to harden it further.
https://github.com/berstend/puppeteer-extra

2Captcha + Puppeteer-Extra-Recaptcha
For solving Google Recaptchas
https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-recaptcha

4G Gateway + Script to rotate IP
Basically just any 4G hotspot that you can write a script to login + send a reboot command to - eg: https://www.aliexpress.com/wholesale?SearchText=4g+hotspot
You need to be able to do this from a script, otherwise, you'll be doing it manually each time you want to rotate to a new identity.

An SMS solution + script to receive verification codes
No matter how good the bot is, you'll get phone verification requests eventually even if you've already verified at setup. Long term you'll want to get something like this https://www.alibaba.com/product-detail/4g-lte-gsm-sms-gateway-gsm_62466674692.html but early on you can work with a cheap Android handset with a SIM expander and an IFTTT script to POST all SMS messages to your server. Then whenever you get a phone verification you just tell the bot to enter the phone number for that identity, then wait for the server to give it the code.

A backend API for identity management and content scraping
I built my backend on Laravel, included a screenshot below, but it becomes essential after you get to a certain number of accounts. To give a bit more context, by Puppeteer app requests a list of tasks from the API along with the account's login info etc and registers completion after they are done. It also accepts the inbound SMS and Email verification codes and passes these to the bot when it hits a verification wall. There's a lot of good plugins for Laravel that help with scraping etc as well.

6g9tJY.jpg


For organisation, obviously you want to split all your logic out into "plugins" that you pull in as needed, otherwise, you'll end up with one huge script that's impossible to maintain.

With JS there isn't really a set structure, so it really comes down to preference. I typically mirror the organization of the frameworks I'm most familiar with...

However, for any node / ES6 app, you'll typically always want to start with an `app.js` entry point in your root folder, then abstract out your classes / mixins etc into logical folders.

As an example to get you started here's a screenshot of my current bot structure.

Xxg2nb.jpg


This is an example of my CLI entry point:

z2wc0G.jpg


Hope that helps!

:)
 
Read a lot before you start, ie the docs of the packages you want to use, as well as the docs of the underlying frameworks etc. Also subscribe to as many security and anti-bot company blogs as you can to get insight from the other side. Like with "hacking" (rolleyes :rolleyes:) the best way to learn is to understand how to stop attacks first and then work backwards.

Everyone is going to do things a little differently, so I can only give my perspective.

My personal stack is:

Multilogin
Even though it's not perfect, it's the only solution I've found that comes close to doing what it says on the box. Plus it is the only anti-fingerprint solution that works with Puppeteer.

Puppeteer-Extra + Puppeteer-Extra-Stealth
Vanilla Puppeteer is very easy to detect, and if you want to use a plugin Captcha solver, you need Extra. Even with these, you'll need to chip away at certain things to harden it further.
https://github.com/berstend/puppeteer-extra

2Captcha + Puppeteer-Extra-Recaptcha
For solving Google Recaptchas
https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-recaptcha

4G Gateway + Script to rotate IP
Basically just any 4G hotspot that you can write a script to login + send a reboot command to - eg: https://www.aliexpress.com/wholesale?SearchText=4g+hotspot
You need to be able to do this from a script, otherwise, you'll be doing it manually each time you want to rotate to a new identity.

An SMS solution + script to receive verification codes
No matter how good the bot is, you'll get phone verification requests eventually even if you've already verified at setup. Long term you'll want to get something like this https://www.alibaba.com/product-detail/4g-lte-gsm-sms-gateway-gsm_62466674692.html but early on you can work with a cheap Android handset with a SIM expander and an IFTTT script to POST all SMS messages to your server. Then whenever you get a phone verification you just tell the bot to enter the phone number for that identity, then wait for the server to give it the code.

A backend API for identity management and content scraping
I built my backend on Laravel, included a screenshot below, but it becomes essential after you get to a certain number of accounts. To give a bit more context, by Puppeteer app requests a list of tasks from the API along with the account's login info etc and registers completion after they are done. It also accepts the inbound SMS and Email verification codes and passes these to the bot when it hits a verification wall. There's a lot of good plugins for Laravel that help with scraping etc as well.

6g9tJY.jpg


For organisation, obviously you want to split all your logic out into "plugins" that you pull in as needed, otherwise, you'll end up with one huge script that's impossible to maintain.

With JS there isn't really a set structure, so it really comes down to preference. I typically mirror the organization of the frameworks I'm most familiar with...

However, for any node / ES6 app, you'll typically always want to start with an `app.js` entry point in your root folder, then abstract out your classes / mixins etc into logical folders.

As an example to get you started here's a screenshot of my current bot structure.

Xxg2nb.jpg


This is an example of my CLI entry point:

z2wc0G.jpg


Hope that helps!

:)

What do you use the bot for? I found vanilla puppeteer super effective if you use setcookie function
 
I seriously recommend you to try Pulovers Macro Creator. It is relatively easy to learn and you can do almost any task you want. It even works for rather complicated bot activities.
 
What do you use the bot for? I found vanilla puppeteer super effective if you use setcookie function

Twitter, mostly.

Throw vanilla against these and watch what happens :weep::

Extra + Extra-Stealth is like 2 code line changes and behaves identically, so there's not really any reason not to use it imo.

Edit: Example of my non-MLA initialiser for Extra here: https://github.com/prescience-data/puppeter-browser/blob/master/browsers/Chrome.js
 
Last edited:
Hello Handsome Hunks,

I want to learn botting and automation. I have been through several course like pyhon, angular js, selenium.

I am pretty confused after going through all.

My Purpose:

1. I want to automate some browser task like signup process.

2. Scrap raw data and manipulate it into sites

3. Automate task like proxies scrapping, email exttacting, expired domain finding, domain hunting etc.

4. Most of the tasks are related to seo and bavklinks.


My Questions
1 where to start from?
2 what language shall I learn first?
3 can you share some best sources of books and videos, courses?
4 Bring newbie what precautions I should take?
5. If I don't have any coding do.i need to learn any language first?

6.

1. start coding a project that is useful for you, this way learning experience will be way more entertaining and in the end you'll have additional tool in your arsenal
2. python/js
3. I've started with "automate the boring stuff with python" ebook and then just google from there on
4.
a) don't be like me and expect simple setup of python+selenium be undetectable, changing user agent/ip is not enough lol
b) keep notes of neat solutions/workarounds/functions etc, because it's really easy to forget something if you don't work daily on it
c) when googling, always ask yourself "am I searching the right thing?" or "is it really called that way?" - idk how many times I was googling for something for hours and as soon as I've changed search phrasing/keyword I've found solution in few minutes
5. no, but almost everyone will recommend python to learn as first language
 
b) keep notes of neat solutions/workarounds/functions etc, because it's really easy to forget something if you don't work daily on it

haha yes! I should have added this as well ... COMMENT YOUR CODE OR LIVE TO REGRET IT :p:p:p
 
You could dive into making scripts as used in imacros.
 
-----------Thanks to all but takiout time out from their day!.-----------------------

After doing little bit of research. I have to many thing involved in python and other languages.
Learning Scripts will consume more time as per my understanding.

As, my needs are related to browser tasks only. I have decided to learn ZennoPoster.

I have predicted that Zennoposter will take less time to learn.

Is my decision right? I would love to hear your inputs.

Thanking You!
 
i use ubot. i think zennoposter and ubot are perfect for beginners even they do not know programming. i choose ubot because i do not know about programming. but i never use zennoposter.
 
Is my decision right? I would love to hear your inputs.

Thanking You!

What platforms are you wanting to automate and for how many accounts?

For instance, trying to automate 10 accounts on something like Quora is significantly different to automating 500 accounts on Instagram...
 
What platforms are you wanting to automate and for how many accounts?

For instance, trying to automate 10 accounts on something like Quora is significantly different to automating 500 accounts on Instagram...

At this point of time i want to automate signup, email verify adn create backlink. Can't we scale zennoposter to 500 accounts? WIll i have to record activity of each user?

I know learning language is always a better choice because of time constraint. I've decide to go with zennoposter.
 
At this point of time i want to automate signup, email verify adn create backlink. Can't we scale zennoposter to 500 accounts? WIll i have to record activity of each user?

I know learning language is always a better choice because of time constraint. I've decide to go with zennoposter.

On what platform though? The detection ability varies between platforms proportionally to how much of a target they are.
 
On what platform though? The detection ability varies between platforms proportionally to how much of a target they are.
At this point there are parasites site like patch, medium, tumblr etc.
 
Back
Top