Skip to content

TikTok data scraping for a Network Science project about how politicians communicate with young generations using TikTok

Notifications You must be signed in to change notification settings

davidecolussi/Politok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Politok

Tiktok scraping using unofficial APIs. Read the "Report.pdf" for a complete guide

To setup the environment:

  • install WSL with Ubuntu for Windows 10 and run following commands (if you want, you may create a virtual environment):
  • pip install TikTokApi
  • python -m playwright install
  • edit the python example code and follow this video to insert your personal token (it is refreshed every 2 hours): https://www.youtube.com/watch?v=zwLmLfVI-VQ&t=117s
  • try to run the python example code and install all the missing libraries (if any)
  • as a result you will see data related to a particular TikTok video

About

TikTok data scraping for a Network Science project about how politicians communicate with young generations using TikTok

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published