pytik is a lightweight, dependency-free Python library for fetching data from TikTok.
$ pip install pytik
pytik exposes a TikTok class, enabling you to request specific attributes from a TikTok video.
>>> from pytik import TikTok
>>> tk = TikTok('https://www.tiktok.com/@tiktok/video/6881450806688664838')
>>> tk.description()
"Good vibes only 🤙 @420doggface208 @mickfleetwood @tomhayes603"
>>> tk.user()
"tiktok"
>>> tk.song()
"original sound"
>>> tk.song_author()
"TikTok"