Playing around with the PRAW API.
-
Go to your reddit preferences and 'create another app' at the bottom of the page.
-
Select the script radio button and fill in any name and redirect uri, then create the app.
-
Rename the config.EDIT file to config, and fill in your details from reddit:
- client-id: personal use script id
- client-secret: secret
- user_agent: anything you want
- username and pw: your reddit login credentials
-
Make sure that the dependencies are installed, then run
python3 script.py
. -
Open output/index.html in your browser to check out your saved reddit posts.