The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lyrics::Fetcher::AZLyrics - Get song lyrics from www.azlyrics.com

SYNOPSIS

  use Lyrics::Fetcher;
  print Lyrics::Fetcher->fetch("<artist>","<song>","AZLyrics");

  # or, if you want to use this module directly without Lyrics::Fetcher's
  # involvement:
  use Lyrics::Fetcher::AZLyrics;
  print Lyrics::Fetcher::AZLyrics->fetch('<artist>', '<song>');

DESCRIPTION

This module tries to get song lyrics from www.azlyrics.com. It's designed to be called by Lyrics::Fetcher, but can be used directly if you'd prefer.

INTERFACE

fetch($artist, $title)

Attempts to fetch lyrics.

BUGS

Probably. If you find any, please let me know. If azlyrics.com change their site much, this module may well stop working. If you find any songs which have lyrics listed on the www.azlyrics.com site, but for which this module is unable to fetch lyrics, please let me know also. It seems that the HTML on the lyrics pages isn't consistent, so it's entirely possible (likely, in fact) that there are some pages which this script will not be able to parse.

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

David Precious <davidp@preshweb.co.uk>

ACKNOWLEDGEMENTS

Thanks to Jim Turner for submitting a patch in RT 133592 to accomodate changes to the AZLyrics site to make this work again

COPYRIGHT AND LICENSE

Copyright (C) 2007-20 by David Precious

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

Legal disclaimer: I have no connection with the owners of www.azlyrics.com. Lyrics fetched by this script may be copyrighted by the authors, it's up to you to determine whether this is the case, and if so, whether you are entitled to request/use those lyrics. You will almost certainly not be allowed to use the lyrics obtained for any commercial purposes.