UserScript for Mozilla Firefox (Greasemonkey) to automate purchases

Евгений
1

Евгений

no recommendations
no complaints
Closed
Project title: UserScript for Mozilla Firefox (Greasemonkey) to automate purchases
Type of cooperation: One-time project
Section: Web development
Prepayment: without prepayment
Payment methods: Electronic money
Acceptance of requests: closed

Project description:
You need to write UserScript for Mozilla Firefox (Greasemonkey) to automate the purchase of the desired products on a third-party site at the right price. You need to write in JavaScript, you can use JQuery, NodeJS, other plugins if necessary.

Principle of work:
1. The page is loading. It requires automatic recognition of Captcha (ReCaptcha 2) through Antigate or similar.
2. After recognizing the captcha, a table with goods is loaded. You need to choose the right products for purchase by name and price range. The list of goods allowed for purchase must be taken from the csv file lying on the client's computer. There should be options for purchasing everything except goods containing certain words (blacklist) and buying goods only containing certain words (whitelist). The selected goods are placed in the basket.
3. The purchase button is pressed. When processing a purchase by the server, at this stage, errors and messages may occur of the type "order processing is underway", "server is busy, repeat the order in xx seconds", "goods are missing", etc. Errors are displayed in the order status bar. Errors must be handled and reacted to depending on the situation. For example, when “order processing” is underway, just wait for the next message, when the “server is busy, repeat the order in xxx seconds” and wait for xx seconds and return to paragraph 3, when “goods are absent” return to paragraph 1. Etc. I will provide a list of errors and a more detailed logic of the work.
4. If you could buy the goods. After that, you need to organize interaction with the program running on the client's computer. I'll write the program myself. You need to inform the program that the product is purchased, wait until the program performs certain actions, after the program works, get information that you can work on and go to item No. 1. Interaction can be organized through writing and reading a file, direct running of an executable file, or other means.

The source code of the script should be easy to read (formatted in accordance with generally accepted rules).
Project author
Евгений