Profile processing

Table of contents


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.

The profile is re-generated every time you click the "Restart" 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 blockProfile. 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.

How to work with an action?

Save profile

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

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.

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. 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).

This setting has been added in ZennoPoster 7.2.1.0


Refresh profile

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

{-Profile.Name}

Save profile-folder

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)


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 processing" 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.

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

Profile loaded. Profile name: {-Profile.Name-}; Profile last activity: {-Variable.LastActivity-}; The number of subscribers after the previous check: {-Variable.OldSubscribers-}; 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 user variables, environment variables and their combinations. For example, when setting the following line {-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.