# \[WS\] Import lyrics from websites

**URL:** <https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034>\
**Category:** Web Sources Scripts\
**Created:** [June 8, 2005, 9:19pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034 "2005-06-08T21:19:06Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [December 10, 2010, 11:54pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/81 "2010-12-10T23:54:26Z")

</div>

Try the update.

---

<div class="post-metadata">

**Author:** ![neyelia](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/73ab20/32.png) [@neyelia](https://community.mp3tag.de/u/neyelia)\
**Post date:** [December 12, 2010, 9:00am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/82 "2010-12-12T09:00:03Z")

</div>

Tried, bug fixed, thank you very much 🙂

---

<div class="post-metadata">

**Author:** ![tbum20](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@tbum20](https://community.mp3tag.de/u/tbum20)\
**Post date:** [January 20, 2011, 3:42am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/83 "2011-01-20T03:42:00Z")

</div>

Hey all, I was wondering if its possible to create a lyric retrieval script for CowboyLyrics .com? I took a quick look at the scripting language used in the other available src's and vaguely could follow how lyrics were returned, I have no real scripting experience. The sites search feature is CGI based using the "Get" action "cgi-bin/cseek.cgi" powered by mnogosearch. One thing that looked like might be an issue, if scripting is possible, the urls to the page holding lyrics are, ..\lyrics\artist-name\name-of-song-(then here is a random variable). I wasn't sure if there was command which is able to handle a variable, like %dummy% in mp3tag.

Thanks Guys!

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [February 1, 2011, 1:00pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/84 "2011-02-01T13:00:04Z")

</div>

Here's my script for cowboy lyrics...

[Lyrics\_cowboylyrics.zip](https://community.mp3tag.de/uploads/default/original/2X/8/801cfe86ae255b3bdedc82089c416412e1af0d62.zip) (988 Bytes)

---

<div class="post-metadata">

**Author:** ![shlomikalfa](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/dfb087/32.png) [@shlomikalfa](https://community.mp3tag.de/u/shlomikalfa)\
**Post date:** [February 6, 2011, 7:42pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/85 "2011-02-06T19:42:14Z")

</div>

Hi,

I'm a new user, actually I was using the lyricsplugin for winamp to get lyrics displayed and now I'm addicted, however it stopped working (probably my dorms IP got blocked ☹).

Anyhow, Not being able to get the lyrics for multiple files / the entire list is ridiculous !!! Am I really suppose to collect the lyrics for my 20K+ list one by one ?!?

I really like the idea of having my lyrics written to the songs but it shouldn't be that difficult.  
It's a simple tag writing job.

Anyhow, hoping you guys will cre8 some fix for that... otherwise I'll just have to write a program that does that and I hate wasting time on things that are already out there... (All you need is a simple fix that will make it run file by file or in bunches... depends on db abilities and software configs)

Hoping I'm not too rude,  
SK.

---

<div class="post-metadata">

**Author:** ![tbum20](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@tbum20](https://community.mp3tag.de/u/tbum20)\
**Post date:** [February 11, 2011, 4:41am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/86 "2011-02-11T04:41:53Z")

</div>

> [@dano](#):
>
> Here's my script for cowboy lyrics...

hey dano.

Thanks a lot for the script, works great man!

---

<div class="post-metadata">

**Author:** ![tbum20](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@tbum20](https://community.mp3tag.de/u/tbum20)\
**Post date:** [February 11, 2011, 4:47am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/87 "2011-02-11T04:47:54Z")

</div>

> [@shlomikalfa](#):
>
> Hi,
> 
> I'm a new user, actually I was using the lyricsplugin for winamp to get lyrics displayed and now I'm addicted, however it stopped working (probably my dorms IP got blocked ☹).

You prob. just need to update your lyricsplugin as it was recently updated, your colleges server is prob. blocking the redirection that occurs when using older versions.

---

<div class="post-metadata">

**Author:** ![tbum20](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@tbum20](https://community.mp3tag.de/u/tbum20)\
**Post date:** [February 12, 2011, 10:47pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/88 "2011-02-12T22:47:56Z")

</div>

> [@dano](#):
>
> Here's my script for cowboy lyrics...

Quick question, In the scripts initial definitions is the following line, [WordSeperator]=+ , telling the script to replace spaces with "+" when querying [cowboylyrics.com](http://cowboylyrics.com) or is it defining what is used as a word spectator when extracting information from mp3tag?

Other than my question, after looking at your code I was able to piece together how these src scripts are compiled, big help!

Thanks Again.

---

<div class="post-metadata">

**Author:** ![tbum20](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@tbum20](https://community.mp3tag.de/u/tbum20)\
**Post date:** [February 12, 2011, 11:25pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/89 "2011-02-12T23:25:18Z")

</div>

My problem was just about every album had a couple songs that wern't found but when I replaced the search terms from %artist% %title% to %artist% %album% in your script it returned all songs indexed for that particular album far more consistently. Using album as a serach term seemed to eliminate issues due to minor differences between song titles. I saw it also returned the page where the albums complete song list was indexed and by using the handy hyperlink feature i could quickly locate any songs which weren't returned for any other reason.

---

<div class="post-metadata">

**Author:** ![Mihawk90](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mihawk90/32/223_2.png) [@Mihawk90](https://community.mp3tag.de/u/Mihawk90)\
**Post date:** [May 12, 2011, 9:50am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/90 "2011-05-12T09:50:48Z")

</div>

Hey Guys 🙂

Concerning the LyrikWiki script I got 2 things.

the first is, the script seems to not work or it can't get the lyric when there is a translation. You can try this with [this lyrics](http://lyrics.wikia.com/Die_Toten_Hosen:Hier_Kommt_Alex) and also almost all [Megaherz Lyrics](http://lyrics.wikia.com/Megaherz)  
I just couldn't get the lyrics, the script finds the page but doesn't get the lyrics.  
I wasn't able to find the reason, because the line the script searches for does exist in the source.  
So is it possible to get one or both languages?  
/edit  
found the reason, on translated there are 3 occurences of "\<div class='lyricbox'". The First one has no content, just some comment, don't know what they are using this for, the second one is the original language, the third is the translated.  
When using  
findline "\<div class='lyricbox'" 2  
it works for translated lyrics, but non-translated lyrics it wouldn't work anymore, because there's only one occurance...  
don't know how to solve this 😕

The second thing, is it also possible to get the albumcover from lyricwiki, too?  
You could do this via 2 ways, the first, easier, way is to go directly to the file:

```
http://lyrics.wikia.com/File:%artist%_-_%album%.jpg

```

this should work in 99% of all cases, because it is somewhat of policy for uploading cover images on lyricwiki.  
I've tried this at the end of the file:

```
# ###################################################################
# C O V E R
# ###################################################################

[SearchBy]=File:$caps(%artist%) - $replace($caps(%album%),&,%%26,?,%%3F).jpg
[ParserScriptAlbum]=...
outputto "coverurl"
findline '<img alt="File:' + %artist% - %album%.jpg'" src="
sayuntil '" width='

```

but it wont work 😕  
The Link at the bottom of the window ("This album on Lyricwiki") does indeed link to the cover file page, but it doesn't get the imagefile 😕 and the debug log doesn't seem to work for me  
it wont work even as its own script and the debug log wont work either 😕

additionally, there is no lyric anymore and no search for it, is it even possible to do 2 different searches in one script?

the second way would be going via album and/or artist pages and search the cover there in the source, but that's a bit more complex and not guaranteed to work because not every album has it's own page. and I think the rate of no albumpages is higher than a wrong named coverfile.

Just found a third thing, question marks have to be encoded in the URL, see [here](http://lyrics.wikia.com/Megaherz:Wann_Wirst_Du_Gehn%3F):

```
change line 17:
[SearchBy]=$caps(%artist%):$replace($caps(%title%,'(' ),&,%%26)

to:
[SearchBy]=$caps(%artist%):$replace($caps(%title%),&,%%26,?,%%3F)

```

and you're done

I think this is it for now.  
greets  
~mihawk~

---

<div class="post-metadata">

**Author:** ![WookiePL](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/858c86/32.png) [@WookiePL](https://community.mp3tag.de/u/WookiePL)\
**Post date:** [July 27, 2011, 10:01am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/91 "2011-07-27T10:01:37Z")

</div>

Ok, I've the Song Meanings lyrics script, it is working, but to make faster my work with songs I want to create the keyboard shortcut to this script in mp3Tag. How can I do that??

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [July 27, 2011, 11:31am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/92 "2011-07-27T11:31:49Z")

</div>

You can call the last used script with **CTRL+SHIFT+I**

You can also add **&** signs to the file name:

Rename _Lyrics#SongMeanings.src_ to _&Lyrics#&SongMeanings.src_

Then you can call it by pressing ALT+S, L, S

or by removing the # sign you can save one key stroke:  
_Lyrics &SongMeanings.src_ makes ALT+S, S

---

<div class="post-metadata">

**Author:** ![manuedit](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/f475e1/32.png) [@manuedit](https://community.mp3tag.de/u/manuedit)\
**Post date:** [September 2, 2011, 5:19am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/93 "2011-09-02T05:19:29Z")

</div>

Lyrics by letras.terra.com.br !

[http://db.tt/CrfLc2N](http://db.tt/CrfLc2N)  
is  
[http://dl.dropbox.com/u/1791791/Lyrics%23Terra.rar](http://dl.dropbox.com/u/1791791/Lyrics%23Terra.rar)

---

<div class="post-metadata">

**Author:** ![mjcm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mjcm](https://community.mp3tag.de/u/mjcm)\
**Post date:** [September 2, 2011, 5:39am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/94 "2011-09-02T05:39:06Z")

</div>

> [@manuedit](#):
>
> Lyrics by letras.terra.com.br !
> 
> [http://db.tt/CrfLc2N](http://db.tt/CrfLc2N)

It seems to be a RAR file hosted on DropBox.

---

<div class="post-metadata">

**Author:** ![manuedit](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/f475e1/32.png) [@manuedit](https://community.mp3tag.de/u/manuedit)\
**Post date:** [September 8, 2011, 7:21pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/95 "2011-09-08T19:21:48Z")

</div>

> [@Mike\_nl](#):
>
> It seems to be a RAR file hosted on DropBox.

It is. Unzip.

---

<div class="post-metadata">

**Author:** ![InspectorMustache](https://community.mp3tag.de/user_avatar/community.mp3tag.de/inspectormustache/32/314_2.png) [@InspectorMustache](https://community.mp3tag.de/u/InspectorMustache)\
**Post date:** [October 2, 2011, 4:50pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/96 "2011-10-02T16:50:54Z")

</div>

SongMeanings changed their site layout slightly. Has something to do with copy right reasons, I don't know...  
Anyway, here's an updated version of the script, since the old one stopped working for most lyrics.

The forum doesn't allow me to upload it (what's up with that?), so [here](http://www.mediafire.com/?o119jn8fphnpdxd)'s a MediaFire link.

EDIT: Uploaded the wrong file, sorry. Now it's correct.

---

<div class="post-metadata">

**Author:** ![Mihawk90](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mihawk90/32/223_2.png) [@Mihawk90](https://community.mp3tag.de/u/Mihawk90)\
**Post date:** [November 27, 2011, 10:10pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/97 "2011-11-27T22:10:12Z")

</div>

/push

Referring to [[WS] Import lyrics from websites](https://community.mp3tag.de/t/2034/90)  
Anyone found a solution for pulling covers from lyricwiki?  
I am not really experienced with the API of MP3Tag and I have no Idea how to pull a coverimage from a site :S  
Would be great if someone found a way, because LyricWiki got most albums covered so it is a nice source for album arts

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [November 27, 2011, 10:44pm UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/98 "2011-11-27T22:44:00Z")

</div>

But the covers are of mixed quality

[Cover\_Art\_LyricWiki.zip](https://community.mp3tag.de/uploads/default/original/2X/c/c460554a811e7af58a2044e5082af92f1923d685.zip) (514 Bytes)

---

<div class="post-metadata">

**Author:** ![Mihawk90](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mihawk90/32/223_2.png) [@Mihawk90](https://community.mp3tag.de/u/Mihawk90)\
**Post date:** [November 28, 2011, 12:15am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/99 "2011-11-28T00:15:19Z")

</div>

Thanks for the script, just used some hours to try it again myself.  
After 3 hours (and at least one of that just cause i couldnt get my debug to work) i just realised that I searched for the wrong parameter and for that reason nothing could be found (is it possible that the FindLine function doesn't accept variables like %artist% or %album% ? anyway....)

got it to work as I looked at your script and searched for a better method for FindLine ...

I used the different of the 2 Methods I mentioned in my post so I used the direct File Page for searching for the full-size-file.

Here's my script, if anyone wanna use it 🙂  
[Cover\_Art\_lyricWiki\_File.src](https://community.mp3tag.de/uploads/default/original/2X/7/75d6f9bb8fe418afd7b02b881c1e325a63fb6f68.src) (681 Bytes)

Ah by the way, you need to capitalize your search strings in your script just like on the original lyricwiki script cause on lower-case-abums or -artists it wouldn't find anything 🙂

So, think we got both methods covered now 😃

Thanks again for the script and indirect help 😉

[Cover\_Art\_lyricWiki\_File.src](https://community.mp3tag.de/uploads/default/original/2X/7/75d6f9bb8fe418afd7b02b881c1e325a63fb6f68.src) (681 Bytes)

---

<div class="post-metadata">

**Author:** ![FreaQ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/c67d28/32.png) [@FreaQ](https://community.mp3tag.de/u/FreaQ)\
**Post date:** [December 12, 2011, 7:57am UTC](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034/100 "2011-12-12T07:57:02Z")

</div>

I have a problem with the script for [magistrix.de](http://magistrix.de)

Even though the lyrics are on the website, in MP3Tag it won't be displayed.  
I can select the proper artist/title in the selection window, but in the tagging window there is no unsyncedlyrics field.

[Previous page](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034.md?page=4)

[Next page](https://community.mp3tag.de/t/ws-import-lyrics-from-websites/2034.md?page=6)
