2. Use Chrome to grab the package and get the request information of the video list interface.
Parameter analysis:
3. Location signature algorithm
4. Analyze the execution logic of signature algorithm.
After analyzing the calling process of signature algorithm, you can build NodeJS project to generate signature, so try it!
1, userAgent attribute does not exist.
Debug analyzes the Tik Tok API request process, and the userAgent attribute is in the navigator object, so it is necessary to define the global object:
2. The document object does not exist.