mirror of
https://github.com/bellingcat/tiktok-hashtag-analysis.git
synced 2026-06-12 13:28:30 +03:00
12 lines
535 B
Markdown
12 lines
535 B
Markdown
# TikTok_plotter
|
|
## extract_date.py
|
|
1. Download and install TikTok scraper: https://github.com/drawrowfly/tiktok-scraper
|
|
2. Use the following command: python3 extract_date.py target_file.json hashtag
|
|
|
|
|
|
The command in point 2 uses the extract_date.py script to extract the dates and the corresponding number of hashtag posts for each date that the TikTok scraper retrieves in the .json file.
|
|
|
|
## extract_hashtag.py
|
|
1. Use the following command: python3 extract_hashtag.py target_file.json n
|
|
2. It will plot top n hashtag frequencies.
|