Tik Tok crawler from 0 to1-the third bomb: grabbing the detailed data of Tik Tok users.

Related articles:

Tik Tok x-gorgon 03 generates Tiktok version 6.3.0 for free.

Tik Tok reptile from 0 to 1- The first bomb: environmental configuration.

Tik Tok crawler from 0 to 1 second bomb: get Tik Tok user data.

This paper introduces and analyzes the method of obtaining X-gorgon in Tik Tok request header. At the same time, when analyzing the user data of Tik Tok, we found that the user_id and sec_user_id are needed to capture the user data of Tik Tok. We obtained the user's id and sec_user_id through the package grabbing tool. Then, the user_id and sec_user_id of more users are obtained through the user's attention list and attention list. Next, I will introduce how to get the detailed data of Tik Tok users according to user_id and sec_user_id.

First, capture user data packets with Fiddle in the built environment.

We know the api of the request and what information is contained in the request header, so we can capture the user's data by manually constructing the corresponding request parameters. I have obtained the uid and sec_user_id data of the 1W+ user in the last article, and then we can use these data to capture the detailed data of the user.

In the article "Tik Tok Crawler Bomb from 0 to 1 sec: Obtaining Tik Tok User Data", we have introduced the api for capturing Tik Tok's attention list and its construction method. In fact, the api for obtaining user details is basically the same as the API for obtaining user attention list, mainly because we need to fill in the user_id, the user's sec_user_id and a lot of timestamp information ourselves, and other information remains unchanged. Let's build an api to get user details.

We have analyzed the request header above, and the construction of the request header is very convenient. Most of the content is fixed, and we mainly need to fill in several timestamps and corresponding X-Gorgon. The construction method of X-Gorgon is complicated. In the article Tik Tok x-gorgon 03 Free Generation Interface Tik Tok Version 6.3.0, I have provided an interface for generating x-gorgon. But be sure to fill in the correct Cookie and Token to get the available X-Gorgon, otherwise your Gorgon will not be available. The following figure shows the main information in the request header:

Below I wrote a function to construct the request header:

According to the above analysis of response data, the corresponding response data is in json format, with a large amount of data. After analysis, I found some useful data for me:

The above is the whole content of capturing user information. The code word is not easy. Please like and pay attention. Please leave a message if you have any questions.