Automatically generate a youtube playlist from a tracklist image uploaded to twitter.
The script downloads the tracklist images from twitter, converts them to text, and creates (using Google API) a Youtube playlist in your account.
Create a python3 virtual environment
$ python3 -m venv /path/to/new/virtual/environment
Install requirements
$ pip install -r requirements.txt
The script uses google api to create/edit playlists, so to use it you'll need to edit the "config.py" file with the location of your credentials file
# ADD PATH TO THE CREDENTIALS FILE (LIKE: ~/.googleapi/client_secret.json)
GOOGLE_API_SECRET_FILE = ''
Using twitter
python playlist_maker.py --from-date "2018-03-11 00:00:00"
From local file containing tweets with images
python playlist_maker.py --tweets-file PATH_TO_FILE