This project is no longer under development.
The most intelligent TikTok bot for Python.
Note: This project should be considered as an "alpha" release.
from tiktok_bot import TikTokBot bot = TikTokBot() # getting your feed (list of posts) my_feed = bot.list_for_you_feed(count=25) popular_posts = [post for post in my_feed if post.statistics.play_count > 1_000_000] # extract video urls without watermark (every post has helpers) urls = [post.video_url_without_watermark for post in popular_posts] # searching videos by hashtag name posts = bot.search_posts_by_hashtag("cat", count=50)
Install with pip:
pip install tiktok-bot
tiktok-bot requires Python 3.6+