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 and also almost all
Megaherz LyricsI 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:
QUELLTEXT
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:
QUELLTEXT
# ###################################################################
# 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:
QUELLTEXT
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~