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
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 querysong_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!
sudo pip install --upgrade youtube_dl
$ sudo pip install eyed3
- libav ----
brew install libav
- sox -----
brew install sox
orsudo apt-get install sox
$ sudo pip install BeautifulSoup4
sudo apt-get install -y libav-tools