This is an unofficial api wrapper for TikTok.com in python. With this api you are able to call most trending and fetch specific user information. The user videos will be stored as .zip file and will be automatically uploaded to Google Drive.
- Python3
- pip must be installed
- Google Drive Api must be configured and download json package and name it client_secrets.json
1. pip install TikTokApi
2. pyppeteer-install
3. pip install PyDrive
-
After running above commands now you need to open terminal in your project folder type following command:
python TikTok.py u tiktok_username
Ex:
python TikTok.py u jannat_zubair29
[This will download videos from @jannat_zubair29 TikTok account] -
For Downloading videos by hashtag type following command:
python TikTok.py h hashtag
Ex:
python TikTok.py h cat
[This will download videos from hastag "cat"]