Skip to content

cmagnobarbosa/crawler_tiktok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crawler TikTok

Pylint

  • 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]

Output

JSON:

{
   "title": "str",
   "username": "str",
   "views": "str",
   "url": "str",
   "date": "str",
   "hashtags": "List",
   "created_at": "str",
   "shares": "number",
   "comments": "number",
   "likes": "number"
}

Constants

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"

About

Open tool to get TikTok Data - Crawler Tiktok

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages