Clone
8
Installation
Richard Mwewa edited this page 2023-08-31 21:17:55 +02:00

Note

The program has both CLI and GUI variants

Installing the CLI

Note

The cli is cross-platform and in order to use it, you will need to have Python installed on your system

Install from PyPI

pip install reddit-post-scraping-tool

or

pip install rpst

Install the dev version from Dev branch

Note

The dev version might be unstable

pip install git+https://github.com/bellingcat/reddit-post-scraping-tool.git@dev

Usage

rpst --keyword [keyword] --subreddit [subreddit name (without 'r/')]

Optional arguments

Option Argument Choices Usage
-l/--listing LISTING [controversial, hot, best, new, rising] listing: controversial, hot, best, new, rising (default: top)
-c/--limit NUMBER 1-100 results limit (default: 10)
-t/--timeframe TIMEFRAME [hour, day, week, month, year] timeframe: hour, day, week, month, year (default: all)
--json Specify to write found posts to a json file
--csv Specify to write found posts to a csv file
-d/--debug enable debug mode (show network logs)

Setting up the GUI

Note

The GUI is only available for Windows systems

Prerequisites

  • .NET 6.0 or later

1. Download the GUI from the releases page

You can download the latest release of the GUI here

2. Extract the downloaded .zip

2023-08-31_21-09

3. Run the binary

Once extracted, you can then run the program by double clicking on a binary named RPST.exe 2023-08-31_21-09_1