Member-only story
How To Pull TikTok Data Without API Using Python!
TikTok is an amazing social media platform with a ton of data, luckily with publicly available tools we can scrape data / process that data using Python. To break it down, we will be pulling the data using a Node.js package called “tiktok-scraper”, we will then take that data and import it into Python and process it through there, let’s get started!
Installation
(This is copied from my previous article on scraping TikTok data) Now we will be installing the tiktok-scraper file from this github link, I would recommend looking through that documentation to get a good understanding of what we’re going to be doing in this little project as well as full installation instructions. Now after that we want to make sure we have Node.js installed on your PC, if you don’t have it installed or don’t know what it is please click on this link to find out how to install it. Once you have Node.js installed we want to go to our Terminal if you’re on a MacOS machine or our Command Prompt if you’re on a Windows machine and paste this specific script inside that application to install the tiktok-scraper package:
Scraping the TikTok Data
Awesome! at this point we want to look through the documentation and find any specific data points we want to extract, here is the documentation in case you’re too lazy to click on the file I linked to early: