[WS] Import lyrics from websites

I have updated the code for Genius.com , replace the

in the original script (previously posted by @tbum20) to
and seems like it's good to go

Lyrics_GENIUS.src (1.19 KB)

Lyrics_GENIUS.src (1.19 KB)

Good day.

I use this script:
Lyrics_GENIUS.src (1.2 KB)

My music collection primarily consists of hip-hop or rap songs, so i use this script and therefore genius.com because there are almost all of the lyrics to my songs.

Following problem:
Example:
I want to import the lyrics of "Deep Cover (feat Snoop Doggy Dogg.) - Dr Dre"
Now if I want to import the lyricswith this script, I have the problem.

Now the Scipt search for "Dr. Dre-Deep Cover (Feat. Snoop Doggy Dogg)-lyrics".

But now I have to remove manually "(Feat. Snoop Doggy Dogg)"because otherwise no result is found.

Wrong Search "Dr. Dre-Deep Cover (Feat. Snoop Doggy Dogg)-lyrics"

It would be correct, "Dr. Dre-Deep Cover-lyrics"

How do I have to change the script so it automatically remove the brackets and the content in the brackets (the featuring) ?

Lyrics_GENIUS.src (1.2 KB)

You have to change the row:
[SearchBy]=$caps(%artist%)-$replace($caps(%title%,'(' ),&,%%26,Feat)-lyrics

to your needs. As the search string depends on the values of your tags ARTIST and TITLE, what you have to change depends on how these both tags are filled.

Because of the same question in the german forum, you can find additional answers over there ...
/t/17623/1

DD.20160207.1038.CET

I don't know if it's something that should be added to the lyricWiki script by default, but I had a little issue with the ’ sign in titles (imported from MusicBrainz cause it's the convention there...), so I added another replace in Line 17:

from

[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),&,'%26',?,'%3F'),( '')(\l),$1\u$2)

to

[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),&,'%26',?,'%3F',’,$char(39)),( '')(\l),$1\u$2)

Maybe it helps if anyone else is having the same issue :slight_smile:

It seems better to be read and understand ...
when writing the problematic character ’ as $char(146) ...

[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),&,'%26',?,'%3F',$char(146),$char(39)),( '')(\l),$1\u$2)
... or ...
[SearchBy]=$caps(%artist%,- ):$regexp($replace($caps(%title%,'('- ),'&','%26','?','%3F','’','%27'),( '')(\l),$1\u$2)

... hopefully without colliding with the apostrophe, which is used as the string delimiter within Mp3tag.

DD.20160312.1616.CET

Yeah, I used $char(39) because I had some issues with the regular apostrophe. Might as well use the $char function for the first character too, good point.

The LyricWiki did not work anymore for me.
Looks like the tag is gone.
I made some adjustments which works for me.

LyricWiki.src (1.39 KB)

Update for MetroLyrics

Won't work for multiple artist names, you will have to manually remove one and any separators in the query box that comes up before you search.

Lyrics_metrolyrics.src (1.06 KB)

Lyrics_metrolyrics.src (1.06 KB)

Is there available script or anyone willing/able to make script for AZlyrics.com or sing365.com?

Here it is AZlyrics for you. Fresh based on dano's scripts.

Lyrics_AZlyrics.src (1.28 KB)

1 Like

Can someone make a script for Musixmatch ?

like this page

https://www.musixmatch.com/lyrics/Cheka/Querida

It has many songs in many different languages :stuck_out_tongue:

I just started scripting yesterday and tried to create some scripts for missing but useful websites for lyrics. Also musixmatch.com :wink:

So here are the scripts for lyrictranslate.com, golyr.de and musixmatch.com. As I just started scripting with this framework yesterday, I'm up to tips and improvements from your side! :slight_smile:

Note: musixmatch.com worked for me for maybe the first 200 songs. After that google blocked my IP from using the site and asked for a captcha to prove that I'm not a bot. <_< I'm not sure how to solve this yet, apart from using another IP.

Golyr.src (1.62 KB)

Lyricstranslate.src (1.57 KB)

Musixmatch.src (1.79 KB)

3 Likes

Just found out about this functionality, but am I mistaken that this needs to be run one song at a time and can't be done as a batch?
Batch would be so clutch.

have a look at

Is there a way this script can only just copy the lyrics but not the extra markups of italics?

See for example: https://genius.com/Eminem-kick-off-lyrics

There is italics on the end of the intro which results in the tag displaying

"I need you to spit that lyrical miracle… in the swimming pool"

Is there a way to remove the ?

It's not a big deal since the source works really good but just something minor I noticed.

It looks like Lyrics Wiki has moved to lyrics.fandom.com/wiki/LyricWiki, so the script needs updating. I haven't a clue how to update the *.src file, myself, so here's hoping someone fixes it soon.

Hello, thanks a lot for your Musixmatch plugin. Having searched all over the net, I can say that it's one of the most worthy for finding lyrics! However, there are some slight issues (may be due to their updates...?) when grabbing lyrics.

It would miss the first line of lyrics on all songs, then sometimes miss parts of the lyrics (I'm not sure if it does that on all tracks) and finally there is this "span" thing that you can encounter across the lyrics.

I'd be very grateful and appreciate it if you could update the plugin.

Thanks beforehand.

2 Likes

I know this old, but I updated the script with the new URL. I tested it on one mp3 and it worked.

LyricWiki.src (1.3 KB)