From f3172f6d1c3002079afc452fb8443537fbf4af75 Mon Sep 17 00:00:00 2001 From: jowi-tech <72805812+jowi-tech@users.noreply.github.com> Date: Wed, 11 Aug 2021 19:10:04 +0200 Subject: [PATCH] Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a5febe0..3baf449 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ # tiktok hashtag analysis toolset -The project provides tools to analyze hashtags within posts scraped from TikTok. +The project provides tools to analyze hashtags based on data downloaded using tiktok-scraper (https://github.com/drawrowfly/tiktok-scraper). + +## Pre-conditions +1. Download and install TikTok scraper: https://github.com/drawrowfly/tiktok-scraper ## 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 - +1. Use the following command: python3 extract_date.py target_file.json hashtag_name 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. @@ -13,4 +14,4 @@ The command in point 2 uses the extract_date.py script to extract the dates and 2. It will plot top n hashtag frequencies. Recommendation n < = 10 for easy to read and analyze. ## extract_posts.py -1. Use the following command: python3 extract_posts.py target_file.json hashtag +1. Use the following command: python3 extract_posts.py target_file.json hashtag_name