This blog is only for my spare time to record articles , Publish to , Only for users to read , If there is any infringement , Please let me know , I'll delete it . This article is pure and wild , There is no reference to other people's articles or plagiarism .
Please install the following tools .
appium, Night God Simulator ,fiddler,jdk, It can't be operated without installation
At present, only one way to download tiktok video is , I'll add a few other methods later . This case needs to be installed Appium,jdk,fiddler, Night God Simulator ( The default reader knows how to use these tools )
First , stay cmd Tool input ipconfig, To view this machine ip Address
next , Turn on the night God Simulator ( I've simulated an Android device here , If possible, you can choose the real machine ), stay wifi Connect – agent – So I'm gonna go manual , Then input it into the machine ip
open fiddler Software , stay Tools–Options–Connections( Shown below ), Set any port number ,wifi Connect here and be consistent .
2 Grab the bag
Play a video at will , You can see fillder Multiple packets have been captured here , And there are two formats for MP4, these two items. MP4 It's probably the video we need to download , Copy a wave url.
Copy url, Go to the mobile browser and have a look （ Trembling is a tiktok. ,PC Terminal ua cannot access , You have to have a mobile phone ua）
You can see that in the mobile browser, you can access the url To access the , undoubtedly , This is what we need url.
A wave of code , See if you can request the url.emmmm… The code succeeded and the request arrived .
You can see , The downloaded video can be played successfully .
What about? .. Is this simple enough . Download the tiktok video is so light and simple. .
This sharing is over , If you have any questions, please leave a message below .