New Lyrics Search Engine

Use this category to discuss anything related to the development of Guayadeque.
Post Reply
User avatar
anonbeat
Posts: 1960
Joined: Thu Sep 16, 2010 9:47 pm

New Lyrics Search Engine

Post by anonbeat » Mon Feb 14, 2011 6:33 am

It can be. I have seen some sites that gives bad encoded pages. Guayadeque ask the page content to be 'UTF-8' encoded but some servers ignore the request

Lysias
Posts: 25
Joined: Tue Oct 05, 2010 3:10 am

New Lyrics Search Engine

Post by Lysias » Mon Feb 14, 2011 12:15 pm

1) When lyrics are fetched from lyrics.wikia.com and the song is instrumental (an example song), a bunch of HTML code is grabbed along with the lyrics (well, along with the word "Instrumental"):

ImageInstrumental

I put the span element in exclude but that didn't work.

2) Is it possible to grab lyrics from sites where all the lyrics for an album are on the same page? For example, darklyrics.com. I tried, but didn't manage to scrape the lyrics.

tamalet
Posts: 490
Joined: Fri Sep 24, 2010 4:34 am

New Lyrics Search Engine

Post by tamalet » Mon Feb 14, 2011 1:12 pm

More issues:

1) I can confirm 1) from Lysias

2) If you add many rules to Replace, you can barely see Exclude and Not Found disappears. I will mail anonbeat a screenshot because I cannot upload it here :(.

3) When you add a new rule, the imput box should be focussed.

4) In some cases it would be useful to replace a character with a string. For example:
?ß -> ss
Ææ -> ae
Œœ -> oe

User avatar
anonbeat
Posts: 1960
Joined: Thu Sep 16, 2010 9:47 pm

New Lyrics Search Engine

Post by anonbeat » Mon Feb 14, 2011 2:06 pm

Lysias wrote:1) When lyrics are fetched from lyrics.wikia.com and the song is instrumental (an example song), a bunch of HTML code is grabbed along with the lyrics (well, along with the word "Instrumental"):

ImageInstrumental

I put the span element in exclude but that didn't work.

2) Is it possible to grab lyrics from sites where all the lyrics for an album are on the same page? For example, darklyrics.com. I tried, but didn't manage to scrape the lyrics.
Can you post a track that gives this result so I can test and fix it ?

Thanks for your help

tamalet
Posts: 490
Joined: Fri Sep 24, 2010 4:34 am

New Lyrics Search Engine

Post by tamalet » Mon Feb 14, 2011 2:10 pm

anonbeat wrote:Can you post a track that gives this result so I can test and fix it ?

Thanks for your help
http://lyrics.wikia.com/Patricio_Rey_y_ ... cho_magyar

User avatar
anonbeat
Posts: 1960
Joined: Thu Sep 16, 2010 9:47 pm

New Lyrics Search Engine

Post by anonbeat » Tue Feb 15, 2011 2:12 am

Lysias wrote:1) When lyrics are fetched from lyrics.wikia.com and the song is instrumental (an example song), a bunch of HTML code is grabbed along with the lyrics (well, along with the word "Instrumental"):

<span style="padding:1em"&bg;<a href="/Category:Instrumental" title="Instrumental"&bg;<img alt="Instrumental" src="http://images2.wikia.nocookie.net/__cb2 ... leClef.png" width="25" height="56" /&bg;</span&bg;Instrumental

I put the span element in exclude but that didn't work.

2) Is it possible to grab lyrics from sites where all the lyrics for an album are on the same page? For example, darklyrics.com. I tried, but didn't manage to scrape the lyrics.
tamalet wrote:
anonbeat wrote:Can you post a track that gives this result so I can test and fix it ?

Thanks for your help
http://lyrics.wikia.com/Patricio_Rey_y_ ... cho_magyar
This should be fixed in svn 1495

Thanks for your bug report

User avatar
anonbeat
Posts: 1960
Joined: Thu Sep 16, 2010 9:47 pm

New Lyrics Search Engine

Post by anonbeat » Tue Feb 15, 2011 11:02 am

Just added a button that opens a google lyric search for the current track. I guess that will make happy the ppl looking for a lyric that was not found with current sources. Please try it and let me know.

Thanks for your help

camaron
Posts: 462
Joined: Sat Sep 25, 2010 3:38 am

New Lyrics Search Engine

Post by camaron » Thu Feb 17, 2011 11:54 am

The google search button can be great help; here is another sugestion: a "translate" option, that would send the text to google translate. I for once would use that!!

Another thing: many songs have embeded some text (not found or an url) from when there wasn't so many search option. Because guayadeque first looks into the files (and this is how it should be) if it finds something it doesn't keep searching. I wonder if there could be some kind of fix for this. A possible solution could be that the "search lyrics" button doesn't actually look into the files as this is done automatically anyway.

Edit: thinking of it the translate option could be even better: send the ful lyric to google translate as default or whatever piece of text is highlighted.

tamalet
Posts: 490
Joined: Fri Sep 24, 2010 4:34 am

New Lyrics Search Engine

Post by tamalet » Fri Feb 18, 2011 6:57 pm

camaron wrote:The google search button can be great help; here is another sugestion: a "translate" option, that would send the text to google translate. I for once would use that!!

Another thing: many songs have embeded some text (not found or an url) from when there wasn't so many search option. Because guayadeque first looks into the files (and this is how it should be) if it finds something it doesn't keep searching. I wonder if there could be some kind of fix for this. A possible solution could be that the "search lyrics" button doesn't actually look into the files as this is done automatically anyway.

Edit: thinking of it the translate option could be even better: send the ful lyric to google translate as default or whatever piece of text is highlighted.
If you don't want Guayadeque to look into files then just uncheck Embedded from the sources.

I can imagine my wife making use of a google translate for a selection of the lyrics.

camaron
Posts: 462
Joined: Sat Sep 25, 2010 3:38 am

New Lyrics Search Engine

Post by camaron » Sat Feb 19, 2011 12:26 am

I do want guayadeque to look into the files as default behavior. But I would like to have the option to tell guayadeque: "now don't look into the file". I've been doing that of course: click button, unclick embedded, click ok, click search: it is a pain isn't?

Post Reply