Pulling the most played songs on triplej from here once a week and building a database for me to make predictions with for Hottest 100
Not sure why you would want to use it currently but gg
- Install the python dependencies using
pip
using the following command in the root directory:
pip install -r requirements.txt
-
Create the required MYSQL tables using tripleplays_table_songs.csv and tripleplays_table_artists.csv
-
Rename config-sample.json to config.json and modify it with the MYSQL details
{
"host": "mysql.you.suck",
"user": "tripleplays",
"password": "heheno",
"database": "tripleplays"
}
- Modify Extras\update_all.py to set the start and end dates for updating the DB with a set period, then run it
python3 update_all.py
- Modify Extras\update.py to set the period desired i.e past week
python3 update.py
- Start app.py to view the interface
python3 app.py