https://github.com/cmagnobarbosa/crawler_tiktok
Open tool to get TikTok Data - Crawler Tiktok
https://github.com/cmagnobarbosa/crawler_tiktok
crawler scraper
Last synced: 5 months ago
JSON representation
Open tool to get TikTok Data - Crawler Tiktok
- Host: GitHub
- URL: https://github.com/cmagnobarbosa/crawler_tiktok
- Owner: cmagnobarbosa
- License: mit
- Created: 2022-10-22T15:55:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T02:31:24.000Z (over 3 years ago)
- Last Synced: 2025-10-10T09:24:18.261Z (9 months ago)
- Topics: crawler, scraper
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Crawler TikTok
[](https://github.com/cmagnobarbosa/crawler_tiktok/actions/workflows/pylint.yml)
* 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.
``` console
run main.py [subject_to_search]
```
### Output
JSON:
``` 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:
- [Link](core/constants.py)
``` sheel
TIKTOK_URL = "https://www.tiktok.com/"
MAX_PAGINATION = 20 # Max scrools on Tiktok page
SLEEP_TIME = 3 # Time to await
LANG = "pt-BR"
```