Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
panelIconIdatlassian-info
iconpanelIconfalse:info:
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: Операции над профилем

...

bgColor#E3FCEF

Please read the Terms of Use for Materials on ZennoLab

Table of contents

Expand
titleClick here to expand the table of contents
Table of Contents
exclude^Оглавление:$

...

Description

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 beginningRestart" 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

...

to 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?

...

Save profile

After registering on the resource or after other actions on the site performed within inside 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

...

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

...

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

...

Load profile

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

...

...

Create missing variables - when this setting is enabled, missing variables that are listed in the profile will be automatically created and added in your project, which are listed in the profile. This is useful when you want to add a profile to a project that was saved while another was working.
Show error when loading incompatible profile - if this setting is enabled, then when loading profiles that were created on a browser engine other than the project engine, the project will end with an error (for example, you are currently working .

...

in a project that uses the Firefox 52 engine, and you are trying to load a profile created on the Chrome engine).

Info

This setting has been added in ZennoPoster 7.2.1.0

...

Refresh profile

Info

Available in ZennoPoster starting from version 7.3.1.0.

The new action will update the current profile with a similar profile with the latest version of the browser.

...

The search is performed by the project filter and the correspondence of the new profile to the following parameters of the current profile: browser type, OS, platform, language and screen resolution.

The action not only updates the latest version of the browser, but completely replaces the profile with the found one (all parameters will be new, except for those that were searched for).

ZennoPoster can load up to 4000 profiles to find a suitable one (it makes no sense to load anymore, since the server generates 4000 profiles per day), ProjectMaker - 400.

...

Reassign 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 Text processing ... To do this, use macros from environment variables , for example:

Code Block
{-Profile.Name}

...

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

...

Save profile-folder

Info

Available in ZennoPoster version 7.3.1.0 and higher.

...

...

In ZennoPoster 7.3.1.0 a profile-folder has been added, you can read more about it in the article Using the profile-folder

With this function you can save it.

Also, along with the profile folder, you can save the current proxy of the project and / or variables (all or some)

Note

Saving a profile folder is a resource-intensive operation and can greatly slow down a project, especially in multi-threaded work. It is not recommended to call save often. Best Places to Call - Good End and Bad End

...

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 Handlingprocessing" action and specify the {-TimeNow.Date-} macro in the data field. (you can read more about the available macros in the article Project variables).

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.

...

...

Tip

Starting from version 7.3.1.0, saving a profile is easier and more logical when working with a profile-folder.

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 Notification and specify the following text there:

Code Block
ЗагруженProfile профильloaded.
ИмяProfile профиляname: {-Profile.Name-};
ПоследняяProfile активностьlast профиляactivity: {-Variable.LastActivity-};
Количество подписчиков после предыдущей проверкиThe number of subscribers after the previous check: {-Variable.OldSubcribersOldSubscribers-};
НомерPhone телефонаnumber: {-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 user variables, environment variables and their combinations. For example, if you set when setting 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.

...

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

...

In the "File path" when the profile is saved, in the Profiles folder (this folder will be created next to the project file, if it does not exist at the execution of the action) it will be saved by file called burgtrisorun1981.zpprofile.

...