RESOURCE: pyktok and traktok for TikTok scraping

Deen Freelon (UNC Chapel Hill) has developed pyktok, a python module that enables collection of video, text, and metadata from TikTok. R users may be interested in traktok, which is ported from pyktok. Both programs note: “This program may stop working suddenly if TikTok changes how it stores its data.” These open-source packages may be useful for instructing how to scrape social media data and for teaching issues around ethics and privacy, as well as the limitations of social media platforms due to shifting policies and access.

dh+lib Review

This post was produced through a cooperation between Claudia Berger, Colleen Farry, Tierney Gleason, Alix Keener, Mimosa Shah, Jennifer Stubbs, David Sye, and Mark Szarko (Editors-at-Large), Nickoal Eichmann-Kalwara and John Russell (Shift Editors), Caitlin Christian-Lamb, Linsey Ford, Pam Lach, Hillary Richardson, and Rachel Starry (dh+lib Review Editors).