Code Monkey home page Code Monkey logo

lyricurator's Introduction

Lyricurator

A bot that scrapes the internet for song lyrics, song names and artists. This program can be either used as a CLI tool to add lyrics to your terminal, or it can be linked with a Twitter account and tweet lyrics automatically.

Usage

After cloning this repository, you can run lyricurator in its most simple mode of operation python lyricurator.py --notwitter which will print random lyrics in the terminal.

enter image description here

In order to send lyrics to Twitter, you have to add the following credentials to the file auth.json.

enter image description here

Then you can start lyricurator with the -t/--twitter argument and a tweet will be sent.

enter image description here

You can learn more about how to get your own Twitter application credentials by following this guide's first 2 steps.

Other CLI arguments you can use and combine:

  • -nt/--notwitter prints lyrics to the console instead of tweeting them.
  • -la/--listartists gets a list of all available artists.
  • -a/--artist specifies artist to get lyrics for.
  • -fs/--fullsong prints the entire lyrics of a song to the console.
  • -ls/--listsongs lists all songs for random or user-selected artists.

Want to contribute?

Check out CONTRIBUTING.md for instructions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.