API Tiktok use Python
- Support downloading all video users on 4 platforms: TikTok, TikTok China (Douyin), Kwai, Kwai China (Kuaishou)
- Video quality full HD
- Download multiple channels at the same time
- Automatically create cross-platform folders and download IDs => https://youtu.be/btpZPN7kFOU => anhk1996@gmail.com
pip install requests
import TiktokApi
Api = TiktokApi.Tiktok()
user = Api.getUser('vtkh2004')
print(user)
userfeed = Api.getUserFeed('vtkh2004', '0')
print(userfeed)
music = Api.getMusic('6896022404674800386')
print(music)
musicfeed = Api.getMusicFeed('6896022404674800386', '0')
print(musicfeed)
challenge = Api.getChallenge('foryou')
print(challenge)
challengefeed = Api.getChallengeFeed('foryou', '0')
print(challengefeed)
trending = Api.getTrendingFeed(count = 30, region = 'IN')
print(trending)
vid = Api.getVideoById('6897853325761350913')
print(vid)
vid = Api.getVideoByUrl('https://www.tiktok.com/@tiktok/video/6801895105885195526')
print(vid)
Api.DownloadVideoByUrl('https://www.tiktok.com/@tiktok/video/6801895105885195526')
Api.DownloadVideoById('6897853325761350913')