In fact, these two URLs are video related addresses, but there are still some problems. We can see that there is a url in the video through the following figure_ There are two different URLs in list. We can see that the request selected above returns a string of json. Set the Network to XHR, refresh the following page to obtain the requested content: To facilitate our viewing and debugging, we will turn Chrome into iPhone mode. We just got the link of the video home page, now we want to get all the videos under the current page through the home page link. In the future, as long as you have such a user ID, you can directly replace it with the url (the timestamp needs to be modified as well) Now we need to remember the number after / user in the url, which is 41953554155449012. We just need to paste the above link into the chrome browser to get the redirect link Tiktok, click on the user's main page, click the three points in the upper right corner:Ĭlick the copy link to get the following url: Tiktok user's home page url, I will take Luo Yonghao's home page as an example (my first tiktok is Luo Yonghao. Tiktok has been uploaded to the official account. Love is the best way to get your favorite video. Tiktok: This article introduces how to use Python crawler to pick up all the videos of your favorite patten (including two kinds of watermark and no watermark).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |