/pylyrical

PyLyrical, a python lyrics scraper

Primary LanguagePython

API

check https://github.com/devlocalhost/pylyrical_api

main menu of pylyrical

Ever wanted to easily get lyrics on your terminal? (No?) Well now you can! With pylyrical, you can get lyrics for almost every song (if genius website has wrote them) from genius, the most known website for lyrics, easily in your terminal. All you need to do is search for a song, select the right one, and there you go

search results song lyrics

Setup

First, you will need to get an access token to use pylyrical by creating a client, clicking Generate Access Token and copying the token. After that, you will need to paste it on line 15 on the "pylyrical.py" file. (you need to replace "S3CR3T0K3N" of course)

Then you will need to install:

  1. rich
  2. requests
  3. and bs4

You can install them by opening a terminal window, and typing pip3 install bs4 requests rich

After that, you will need to git clone this module (git clone https://github.com/devlocalhost/pylyrical.git), then you will need to change your directory to pylyrical, and run the python file

MAKE SURE YOU HAVE THE LATEST PYTHON VERSION, OR A VERSION HIGHER THAN 3.7. IT IS NOT GUARANTEED THAT IT WILL WORK BELOW 3.7

Compatibility

It probably works on every platform, including linux, and maybe windows. Im not really sure if it works on windows.

Issues

If you find any issue, please copy the traceback, and open an issue. Make sure you include:

  1. Your python version (python3 -V)
  2. Your distro version and name (for example debian 11) or your windows version if you're using windows
  3. The traceback