/top40ukgenerator

Official Singles Chart Top 40 auto-generated youtube playlist

Primary LanguageJavaScript

top40ukgenerator

top40ukgenerator is a tool that get songs list from Official Singles Chart Top 40, search for the youtube video and then insert them into a youtube playlist.

The follow playlist was updated by this script: Top 40 UK Updated

Installation

npm install

Create credentials to YouTube Data API and put them in the file credentials/client_secret.json.

Usage

node index.js --playlistId [playlistId]

--playlistId is the playlist to be updated, be carefull, this script will clean the playlist.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

TODO:

  • If playlistId is not provided so we can create a new one
  • Improve code organization
  • Search for official video
  • Being able to especify a date to search in Official Singles Chart Top 40
  • Improve async task management
  • Move the folder officialcharts to a separated package