From 51d252e5b3ccd067b1513a468cedc3d8ceb44f05 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Sat, 22 Oct 2022 01:00:32 +0200 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b6b98d..3fded32 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,25 @@ Given a subreddit name and a keyword, this script will return all posts from a specified listing (default is 'top') that contain the provided keyword. -## Installation +# Installation +**1. Clone the repo** ``` git clone https://github.com/rly0nheart/reddit-post-scraping-tool.git ``` +**2. Move to reddit-post-scraping-tool directory** ``` cd reddit-post-scraping-tool ``` -## Usage +**3. Install dependencies** ``` -python reddit-post-scraping-tool.py --keyword [keyword] --subreddit [subreddit name (without 'r/')] +pip3 install -r requirements.txt +``` + +# Usage +``` +python3 reddit-post-scraping-tool.py --keyword [keyword] --subreddit [subreddit name (without 'r/')] ``` ## Optional arguments