Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse
titleThis page has been translated automatically

We want to provide you with the latest help content in your language as soon as possible. This page has been translated automatically and may contain grammatical errors or inaccuracies. We want this content to be useful to you. Please let us know at the bottom of this page if this information was helpful.

View the original article in Russian: Операции над профилем

Описание

For working on the Internet, ZennoPoster has a special entity - Project Profile.

The profile combines such commonly used parameters as:

  1. Virtual identity - name, surname, date of birth, e-mail, nationality and other parameters.

  2. Virtual Browser - UserAgent, Proxy, Browser Fingerprint, etc.

Info

The profile is re-generated every time you click the "From the beginning" button in ProjectMaker or when the project is run again in ZennoPoster

...

To configure the primary generation of a profile, you need to configure it in the static block → Profile: Profile ... In it, you can specify the profile language, gender, desired regions, as well as browser settings.

How do I add an action to a project?

Via the context menu Add actionDataOperations on profile

...

Or use smart search .

What is it used for?

A profile can be saved and loaded into a template, thus using different profiles to work on different resources. This allows you to bypass bot protection.

...

To view the current profile, you can click on the "Current profile" button at the top of the program interface. Read more about all profile settings here: Profile window

...

In the window that opens, you can familiarize yourself with the internal variables of the project, which will later be used when executing the project. Most of the data contained in it you can change using the "Reassign fields".

...

How to work with an action?

Saving a profile

After registering on the resource or after other actions on the site performed within the template, you can save the profile data for later use in other projects. The profile file (* .zpprofile) stores all instance data: cookies, User Agent, computer data generated for the instance, first name, last name, login, city, etc.

...

Note

Be careful with the " Save variables " checkbox. If you saved a profile with this option, then the next time it is loaded, the values of the selected variables will be overwritten.

Image Added

For the correct execution of the template, save only the necessary variables. However, you can always select “All” from the dropdown list.

...

Loading a profile

If you have previously saved profiles, you can load them for use in the project.

...

When the checkbox “Create missing variables” is checked, missing variables will be automatically created and added in your project, which are listed in the profile. This is a new pageuseful when you want to add a profile to a project that was saved while another was working.

...

Reassigning fields

You can manually edit the components of the profile. For some data, you can set the value you need, and for others, regenerate.

...

What is it for?

  • Installing your UserAgents;

  • Setting the desired names, surnames, dates of birth and other information "personality";

  • Setting the desired browser resolution;

  • Setting the desired logins / passwords / mail;

  • Any other possible profile upgrade to fit your needs.

In further work, you can use the data from the profile in other actions, for example, in the cube Word processing ... To do this, use macros from environment variables , for example:

Code Block
{-Profile.Name}

...

Info

You just need to write the snippet {-Profile. and ProjectMaker will offer you all possible choices in a dropdown list.

Image Added

...

Possible practical application

Let's imagine a situation that we are working with a service that has subscribers. After completing the work, put the current date and time in the LastActivity variable. To do this, use the "Variable Handling" action and specify the {-TimeNow.Date-} macro in the data field.

The OldSubcribers variable contains the number of subscribers that we got when the template was running.

The PhoneNum variable contains the phone number associated with the account.

...

We save our profile and specify the desired variables to save.

...

Because we do not need token and UserNameLastSub variables for one reason or another, we do not save them.

Later we can use the “Loading profile” and get the necessary variables, then we use them for personal logging of actions. Create an action Alert and specify the following text there:

Code Block
Загружен профиль.
Имя профиля: {-Profile.Name-};
Последняя активность профиля: {-Variable.LastActivity-};
Количество подписчиков после предыдущей проверки: {-Variable.OldSubcribers-};
Номер телефона: {-Variable.PhoneNum-}.

Several macros are used in it: {-Profile.Name-} - profile name, {-Variable.LastActivity-} , {-Variable.OldSubcribers-} , {-Variable.PhoneNum-} - variables LastActivity , OldSubcribers , PhoneNum, respectively. At the output, we get the following text in the log:

...

Also, when saving and loading a profile, you can use different macros and their combinations. For example, if you set the following kind of save path line, a file called chiororekce1973.zpprofile will be saved to the ProfilesZenno folder, which will be located in the project directory.

...

Code Block
{-Project.Directory-}ProfilesZenno\{-Profile.Login-}.zpprofile