Skip to content

Download mp3 + lyrics without knowing the name of the song - just by typing the lyrics or youtube url

Notifications You must be signed in to change notification settings

radicalray/YoutubeMp3withLyricsAutoTagging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mp3withLyricsAutoTagging

Download mp3 without knowing the name of the song - just by typing the lyrics or the youtube url

This program will also automatically search for the Lyrics of the song online then download the lyrics for the song and add then embed Lyrics to the mp3 file via eyed3 Tagger. All songs lyrics fetched in one go!

Also, will automatically trim silences in the beginning and end of the song

Just download the scipt and run my typing

python music.py 

Auto Tagger Module

Also includes an auto-tagger

This will attempt to automatically tag the song with the proper artist/title from the title.

The following things takes place

  • Reads the name of all *.mp3 files , stores the name in a list
  • Iterating through each song name , send a get request at Google.com with the query song_name Lyrics
  • Looks if the Lyrics Page (Metrolyrics or Azlyrics) is available
    • If present , scrape the lyrics
    • Uses Arc90 algorithm (behind readability) to pull out the lyrics from html pages to fight against anti-parsing techniques used on lyrics webpages. =)

Happy Downloading!

Dependencies:

  • sudo pip install --upgrade youtube_dl
  • $ sudo pip install eyed3
  • libav ---- brew install libav
  • sox ----- brew install sox or sudo apt-get install sox
  • $ sudo pip install BeautifulSoup4
  • sudo apt-get install -y libav-tools

About

Download mp3 + lyrics without knowing the name of the song - just by typing the lyrics or youtube url

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%