4Lyrics
Get lyrics from 4 different sites! With user input :)
- Musixmatch
- azlyrics
- lyrics.com
- lyricslive
Benefits
- Support for multiple sites.
- Asynchronous.
- Easy implementation.
Downsides
- UNOFFICAL "APIs". Read sites' TOS and EULA before using.
- Possible revocation of access to site(s).
- NO Captcha support (submit a pull request).
Basic Use
- Examples used from test file
const lyrics = require('4lyrics');
Musixmatch
lyrics.musixmatch.getURL('more than a feeling')
.then(r => lyrics.musixmatch.getLyrics(r))
.then(() => console.log('musixmatch lyrics obtained'))
.catch(console.error);
Azlyrics
lyrics.azlyrics.getURL('queen you\'re my best friend')
.then(r => lyrics.azlyrics.getLyrics(r))
.then(() => console.log('azlyrics lyrics obtained'))
.catch(console.error);
Lyrics.com
lyrics.lyricscom.getURL('limelight')
.then(r => lyrics.lyricscom.getLyrics(r))
.then(() => console.log('lyrics.com lyrics obtained'))
.catch(console.error);
Lyricslive
lyrics.lyricslive.getURL('don\'t stop')
.then(r => lyrics.lyricslive.getLyrics(r))
.then(() => console.log('lyricslive lyrics obtained'))
.catch(console.error);
Changelog
1.1.5: Remove more divs in musixmatch that interfere. 1.1.6: Add a second way of detection and remove "hacky" code. 1.1.61: Fix a bug that caused lyrics to be removed accidentally.