G
G
glhit2020-06-09 12:23:49
Bots
glhit, 2020-06-09 12:23:49

How to make bots that won't fire like bots?

The question has come up, for educational purposes only, how to make bots in Python that will not be fired by various services.
Searched the internet for very little information. The task is how to make a bot that is as similar as possible to a regular user and at the same time, so that the bot does not eat a huge amount of resources. MB is there any literature, or useful posts? I will be grateful for a comprehensive answer)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Karbivnichy, 2020-06-09
@hottabxp

See what kind of service.
If the site is Vasin - then send any requests through requests.
If the site of the average desk is selenium.
If the site is larger than the average desk - use automation libraries (calculate coordinates and click), for example, PyAutoGui
If the desk is serious - they can connect neural networks in critical places and analyze user behavior. And step aside and captcha.

G
Griboks, 2020-06-09
@Griboks

If you want a truly finger-free bot, it's much cheaper to hire people. On the other hand, a bot is a bot to be different from a human. Therefore, it can always be calculated.

M
mayton2019, 2020-06-09
@mayton2019

A few thoughts.
1) The bot must identify itself as a browser. That is, generate all headers as your Opera/FireFox/Edge.
2) The bot must process all incoming JavaScript on the page.
3) The bot should click "thoughtfully". Ie imitate the behavior of an ordinary chela. With pauses.
As for literature, no. Too specific. But here KMK needs reasonable limits when to stop. And maybe such a bot will really cost more than 1000 Chinese per hour.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question