Q
Q
quantum320432022-01-26 00:43:33
Bots
quantum32043, 2022-01-26 00:43:33

How to fix a bot?

There is a bot implemented on pyrogram using selenium. The essence of the bot is that it receives messages from telegrams and inserts them on the site, after which it presses the activation button on the same site. The browser that launches the bot is always minimized and works correctly for the first 10-15 minutes. However, at one point, for some reason, the bot stops performing some of its functions on the site and, for example, stops opening a new tab when it is needed (although the first 10-15 minutes after its launch, everything works). It does not give any errors to the console, so I could not figure out what the problem was. The only suggestion is that this minimized browser is going into some sort of hibernation, but that sounds crazy enough. I would be grateful if someone could tell me what I can do with this.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question