SE::Yandex::Register - Allows you to register accounts on Yandex
Parser Overview
Automatic Yandex mail registrar. Massively registers accounts using AntiGate for captcha solving or OnlineSim for automatic SMS verification.
A-Parser functionality allows you to save scraper settings of SE::Yandex::Register for future use (presets), set a scraping schedule, and much more.
Use Cases for the Scraper
🔗 Automation of Wordstat scraping
Used to store up-to-date information in the database, and generates a csv with fresh data on each launch.
🔗 Getting a list of Yandex regions
Account registration and data collection about regions by iterating over IDs.
Collected Data
- Automatically registers accounts according to the number of requests using AntiGate
Capabilities
- Automatic registration of Yandex accounts
- Retrieving the answer to the security question (variable
$answer
), besides, the question and answer are the same - Registering multiple accounts for each phone number
- Adding your own accounts to the file
files/SE-Yandex/accounts.txt
Account Format
Two account formats are supported:
[email protected];password
- simple (old) format[email protected];password;info
- extended (new) format, whereinfo
is a JSON with additional data
Example of accounts in the extended format:
[email protected];j85qWzWCez;{"answer":"lhutmofwlp","proxy":"http://88.198.56.226:23663"}
[email protected];jqrZ80kNbG;{"answer":"mzpcdxklbw"}
[email protected];wPXAEGoKPf;{"proxy":"http://88.198.56.226:23663"}
[email protected];pJ4563aOSl;{"answer":"qoysggfmya","proxy":"socks5://fsghfdgf:[email protected]:36532"}
By default, the SE::Yandex::Register scraper saves in info
the answer to the security question and the proxy used during registration. Saving the used proxy is regulated by the Write with used proxy option and can be disabled, for example, in cases where the outgoing IP changes with each connection to the proxy.
Use Cases
- Creating accounts for use in scrapers SE::Yandex::WordStat and similar
Queries
You need to specify the required number of queries. They can be set using a macro in the "Enter queries" field, for example:
{num:1:20}
In this example, the scraper will register 20 accounts.
Here, the built-in macro {num:START:END}
is used for automatic substitution.
Output Results Examples
A-Parser supports flexible result formatting thanks to the built-in Template Toolkit, allowing it to output results in any form, as well as in structured formats, such as CSV or JSON
Export of Registered Accounts
Result format:
$login;$password\n
Example of the result:
[email protected];xobgbygi
[email protected];cropssyo
[email protected];foqxvpjy
[email protected];zsiofjew
[email protected];adppfssz
...
Output of Account Number, Login, and Password
Result format:
$query;$login;$password\n
Example of the result:
1;[email protected];papkrbsp
2;[email protected];voadzgna
...
Output in CSV Table
The built-in utility $tools.CSVLine
allows you to create correct table documents, ready for import into Excel or Google Sheets.
Result format:
[% tools.CSVline(login, password) %]
File name:
$datefile.format().csv
Initial text:
Логин,Пароль
To make the "Initial text" option available in the Task Editor, you need to activate "More options". In the "Initial text" we write the column names separated by commas and make the second line empty.
Saving in SQL format
Result format:
[% "INSERT INTO serp VALUES('" _ login _ "', '" _ password _ "')\n"; %]
Example of result:
INSERT INTO serp VALUES('[email protected]', 'zobafsdu')
INSERT INTO serp VALUES('[email protected]', 'zsiofjew')
INSERT INTO serp VALUES('[email protected]', 'adppfssz')
...
Dump results to JSON
Общий формат результата:
[% IF notFirst;
",\n";
ELSE;
notFirst = 1;
END;
obj = {};
obj.login = p1.login;
obj.password = p1.password;
obj.json %]
Начальный текст:
[
Конечный текст:
]
Example of result:
[{"password":"bsjgfhsm","login":"[email protected]"},{"password":"adppfssz","login":"[email protected]"}]
To make the "Initial text" and "Final text" options available in the Task Editor, you need to activate "More options".
Possible settings
Parameter name | Default value | Description |
---|---|---|
AntiGate preset | default | Preset for scraper Util::AntiGate. It is necessary to pre-configure the scraper Util::AntiGate - specify your access key and other parameters, after which select the created preset here |
Registration method | Chrome + OnlineSIM | Choice of account registration method, 3 options are available: HTTP + Antigate - old method, currently not working. It will be removed in the future. HTTP + OnlineSIM - new method, works on HTTP requests with phone number binding. More efficient, but accounts may get banned faster. Chrome + OnlineSIM - new method, works through Chrome with phone number binding. Less efficient due to the use of Chrome, but theoretically accounts live longer and get banned less often, as the process is as close to real as possible. |
API key for virtual SIM service | API key from the account of the virtual SIM card service (currently only onlinesim.ru is supported) | |
Use proxy for virtual SIM service | ☐ | The ability to enable the use of a proxy for requests to the virtual SIM card service. It is recommended to enable only when the service is not available from your server. |
Wait time for receiving SMS | 120 | Waiting time for SMS |
Max accounts per number | 5 | The number of accounts per number. For onlinesim, the maximum allowable value is 5 |
Click "Resend sms" when it possible | ☑ | The scraper automatically clicks the "Resend sms" button on the registration page as soon as it becomes available. This helps in cases where the SMS did not arrive the first time. It is recommended to disable only if there are problems. |
Chrome headless | ☑ | If the option is enabled, the browser will not be displayed |
Optimize Chrome (block unnecessary resources) | ☑ | The scraper skips loading unnecessary page resources, thereby reducing the load on the proxy, which achieves higher work speed and fewer errors when working through Chrome. It is recommended to disable only if there are problems clearly related to resource loading. |
Write registered account to "SE-Yandex/accounts.txt" | ☑ | Whether to write accounts to files/SE-Yandex/accounts.txt Necessary for their subsequent use in A-Parser |
Write with used proxy | ☑ | Record in files/SE-Yandex/accounts.txt the proxy used during registration |