- Desenvolvido com objetivos educacionais
Crawler simples para recuperar metadados de videos no Tiktok.
Simple crawler to retrieve video metadata related to a search on the TikTok website.
run main.py [subject_to_search]
JSON:
{
"title": "str",
"username": "str",
"views": "str",
"url": "str",
"date": "str",
"hashtags": "List",
"created_at": "str",
"shares": "number",
"comments": "number",
"likes": "number"
}
Constants file:
TIKTOK_URL = "https://www.tiktok.com/"
MAX_PAGINATION = 20 # Max scrools on Tiktok page
SLEEP_TIME = 3 # Time to await
LANG = "pt-BR"