TiktokAnalysis is prototype to visualize tiktok data using streamlit.
- Cross-platform
- Awesome Viz
- No singup/login required
- real-time scraping and analysis
app.py
contains the code for the streamlit app, it is pretty straight forward, it calls the scraping function from tiktok.py
and visualize the data on the spot.
tiktok.py
connects and handles the TikTokApi, formats and stores the scraped data in a .csv file for ease of use.
Clone this repo to your desktop or a specific folder you want to run the project on, run pip install -r requirements.txt
to install all the dependencies.
You might want to create a virtual environment before installing the dependencies.
To run the project on your localhost, you can use streamlit run app.py
and it will launch on your localhost via the port 8051.
To deploy your version of the project, you need to add a Procfile and directly use your git repo to link it with Heroku, Heroku will take care of the rest.