This repository contains the source files for instagram-bio-sotw
, a Python application that allows you to update your Instagram bio with your Song of the Week from Last.fm.
"Song of the Week" here is defined as the most played song during the previous 7-day period.
- Create a Python virtual environment.
python -m venv venv source ./venv/bin/activate pip install --upgrade pip pip install -r requirements.txt
- Configure the parameters
config.json.example
and rename it toconfig.json
.
To run the application once, run python main.py
.
If you have 2FA enabled on your account, you will be prompted to enter the verification code on the first login attempt.
Subsequent login attempts will reuse the same login token.
To set up a cron job to automatically run the application weekly, run python cron.py add
.
To remove the cron job, run python cron.py remove
.