Giter VIP home page Giter VIP logo

lyrics-scraper's Introduction

lyrics-scraper

A python script that scrapes lyrics from Genius and embeds it into a mp3's ID3 tag.

Requires stagger, BeautifulSoup4 and requests.

To Install these, do

pip install stagger requests beautifulsoup4

To use the search functionality, you will need an Client Access Token, which you can get at https://genius.com/api-clients. Paste the Token in lyrical.py

To use the script, download lyrical.py and point it towards an mp3 file.

lyrical.py music.mp3

AcoustID Identification

If you have a bunch of mp3s with incorrect information or have feature artists in the artist/title tag, the script will (mostly) fail to find the lyrics. To fix this, the script also supports identifing music via acoustID.

To use acoustID, place acoustID.py alongside the script.

Then you will need to install chromaprint, which you can find here. Download the binary and aslo place it alongside the script or in your system path.

If you are on linux, your distribution may have its own package.

lyrics-scraper's People

Contributors

weakit avatar

Watchers

 avatar  avatar

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.