Skip to content

Command line tool to get song lyrics from internet catalogues (AZlyrics, Elyrics)

Notifications You must be signed in to change notification settings

SimCo92/mylyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyLyrics 1.0 (Not stable)

This repository contains an API that provides the lyric of songs from two internet catalogue (AZlyrics, Elyrics)

Prerequisites

To be able to build and test the application on your local environment, you need to have:

All the test has been done with Python 3.7 and macOS Catalina 10.15.6. We suggest to install the requirements in a python virtual environment to avoid packages errors (https://docs.python.org/3/library/venv.html). We need the following packages:

  • BeautifulSoup
  • Requests

Features

Print lyrics in Terminal. Save lyrics in a .txt file if required.

Installation

In order to install the required packages run the following command:

$ pip install -r requirements.txt

Usage

The application will run on cmd and it accept the following parameters:

$ python mylyrics.py -a "red hot chili peppers" -l "californication" -p "azlyrics" -s
$ python mylyrics.py [-h] [-a ARTIST] [-l LYRIC] [-p PROVIDER] [-s SAVE]

$ [-h] [--help] : help
$ [-a] [--artist] : artist (required)
$ [-l] [--lyric] : lyric (required)
$ [-p] [--provider] : provider [ azlyrics , elyrics ]
$ [-s] [--save] :  save a .txt file with the lyric

Future implementation

Next will be implemented unit test to help in debug and trubleshooting and later integration test with the two source of information.

About

Command line tool to get song lyrics from internet catalogues (AZlyrics, Elyrics)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages