A simple PRAW script that allows you to discover new music through /r/listentothis or any subreddits you like.
- Register a script-type application with your reddit account, this can be done here.
- Create a file called
app.json
and fill it out, following this template:
{
"client_id": "{The id of your application, can be seen at the top.}",
"client_secret": "{The client secret of your application.}",
"username": "{Your reddit username}",
"password": "{Your reddit password}",
"user_agent": "{your os name}:ListenToThisPlaylist:v1.0.0 (by /u/{your username})"
}
- Run
python3 -m pip install -r requirements.txt
to download the needed dependencies. - Run
python3 app.py
whenever you want to listen to music!