B
B
BakytShark2022-04-06 10:26:42
JavaScript
BakytShark, 2022-04-06 10:26:42

How to periodically refresh the page and click on the buttons?

Hello.
First, a description of the situation. I work on one site, where orders (simple) appear from time to time. Near each order there is a "Take to work" button, clicking on which leads to the fact that the order is in your work, that is, you automatically become a performer.
Now a description of the problem. There are a lot of artists on this site. For each order that appears, there are several performers. The competition is super high. I simply do not have time to take the emerging orders. More precisely, I manage to click on the "Take to work" button, but when I click after reloading the page, it turns out that someone has already taken the order.
In general, a notification that some kind of order has appeared on that page comes to the telegram bot. As soon as it arrives, I immediately go to the site (the page has already been prepared in advance), click "update", after which a list of orders appears ... but I don't have time to take them.
What is actually needed. I heard that it is possible to automate this process with the help of code. That is, periodically update this page (for example, every 7 seconds), and if something appears, also automatically click on the "Take to work" buttons. I need just such a code (or a program, as it is right there). Well, if the following points are taken into account:

  • the code should work on its own, that is, without my hands at all.
  • the "Take to work" buttons should be pressed in front of all the orders that have appeared at the same time. If this is not possible, then alternately.
  • after clicking "take to work", the page reloads (the site is arranged like this) ... while the page reloads, others have time to take the rest of the orders. So it would be good to avoid this reboot.

Do you think it's possible to implement it this way? I'm not asking you to write me the full code and hand it to me on a silver platter. I ask you to just give me a guideline, where to dig, what exactly to use (I have assumptions that java script will help), advise programs, and write at least the basic code so that I get an idea how it all works. I'm not a programmer, I don't know any language.
I will be grateful to everyone for any help and for any advice. Thank you very much.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WapSter, 2022-04-06
@BakytShark

https://github.com/puppeteer/puppeteer The
truth without knowledge of the language will not help you much.
It is also possible to do without third-party programs at all, and see how requests for receiving orders are arranged and what is sent to the server at the click of a button.
Without knowledge of the language, there are plugins for browsers with similar functionality

A
Andrey Fedorov, 2022-04-06
@aliencash

Has nothing to do with programming, but there are autoclickers. For example, there are those to which you can set a sequence of mouse clicks at different coordinates on the screen. But what do you think, your competitors have not thought of this yet? )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question