Skip to content

Automatically generate a youtube playlist from a 'Shemesh Hatzot' playlist image in twitter

Notifications You must be signed in to change notification settings

caspx/shemesh_hatzot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shemesh Hatzot

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.

Usage

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 = ''

Examples

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

About

Automatically generate a youtube playlist from a 'Shemesh Hatzot' playlist image in twitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages