ScroogLyrics 0.7
cc cc
ultramancool at gmail.com
Mon Dec 24 19:16:40 CET 2007
Name: ScroogLyrics
Version: 0.7
Type: Amarok Script
Depend:
License: GPL
More Info:
http://www.kde-apps.org/content/show.php?content=71044
Description:
I've been annoyed by the low yield on some of my
more obscure music with many of the Amarok lyric
search scripts available. I'd used a program waaay
back when in my windows days called EvilLyrics,
they had an interesting idea, Google for the
lyrics then rip them off known websites. Well, I
decided this is what Amarok needed! After a quick
day of scripting, here's the result: a true lyrics
metasearch script. Since google's SOAP API is crap
(now doesn't allow you to register keys and
returns dramatically different results to web
search), I decided I'd scrape. Since Scroogle had
a cleaner markup, I decided it'd be even better to
scrape then just Google (and the paranoid might
like me more or something). Anyways, the script
searches scroogle (hence the name Scrooglyrics)
for the song lyrics, then pulls them off the known
sites. Adding sites should be easy so, tell me
what sites you'd like to see and I'll be sure to
get them in next release! Remember, these sites
should be reputable ones that show up in the first
20 results on google for your song's lyrics.
To use this script you must have the
WWW::Mechanize perl module installed. Your
distrobution probably has a package for it, but,
in the case they don't, you can do this the perl
way, su to root then use cpan to install each of
them, ex:
$su
#cpan
cpan>install WWW::Mechanize
I'd like as much input on this as possible, so, if
you've tested it, please comment! Your opinion is
wanted :)
Changelog:
0.7:
- Removed depenencies on HTML::Entities and
HTML::Strip, just needs Mechanize now.
0.6:
- BIG Update!
- Now searches songmeanings.net and
wearethelyrics.com
- now only googles for results in sites needed
- now will keep looking if a regex fails instead
of dying
- big thanks to mattepiu and neoeno for their work
towards this version, great job!
- Stay tuned for a version that will include
modules.
0.5.1:
- Fixed capturing for actionext.com and
azlyrics.com
- Added a little extra debugging, if anyone's
having problems, pull up the output window for the
script and see if a regex has failed.
0.5:
- Fixed packaging error
0.4:
- Added letssingit.com and lyricwiki
- code cleanup, now passes use strict
0.3:
- Bug fix :) No more last-lyrics bug. I hope.
0.2:
- Added sign365.com support. I'll be working on
that last-lyrics bug for next release.
0.1:
Initial release, currently has support for 3
lyrics search websites, azlyrics.com,
lyrics007.com and actionext.com. This will
probably be expanded later, but, I easily find
most of my more obscure songs with just these 3!
This my friends is why we need a lyrics
metasearch.
More information about the Kde-announce-apps
mailing list