Member-only story
How To Build a TikTok Scraping Tool In Python!
TikTok is one of my favorite apps, and I love Python, so why not combine the two and create a tool that scrapes data from any given TikTok video! The tool is going to look something like this:

Pretty basic but a great learning project, let’s get started!
Prerequisites
For this project we’ll be using streamlit for the front end GUI, I have created an article talking about the basics of this package, I would recommend reading the article I made about this yesterday, read that article here if you want and install the streamlit package by:
pip install streamlit
Next, we need the web scraper Selenium, I would highly highly highly recommend reading the article that I made about Selenium that adds way more detail that what I talk about in this article that you can read here, but to install this package use:
pip install selenium
Awesome, you will also need pandas installed:
pip install pandas
Great! These are pretty much the main things you need to get started!
Let’s Start building!
First off, let’s start off by importing these packages:
#IMPORT THESE PACKAGES
import…