git clone https://github.com/Adoni5/EarthPorn-Map
cd EarthPorn-Map
python -m venv earthporn
pip install -r requirements.txt
Register for reddit keys here
Create a .env file in the EarthPorn-Map directory. Add your reddit secret key and password -
REDDIT_PASSWORD="<Reddit-Passowrd>"
CLIENT_SECRET=="Reddit-client-secret"
python PrawScraper.py
The output will be output to EartPorn-Map/files/country_data_counts.json
An observable notebook that can be forked to use the data can be found here.