NAME

Lyrics::Fetcher::Genius - Get song lyrics from www.genius.com

SYNOPSIS

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

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

DESCRIPTION

This module tries to get song lyrics from www.genius.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 genius.com change their site much, this module may well stop working. If you find any songs which have lyrics listed on the www.genius.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

Original version contributed by Jim Turner in RT 133592

COPYRIGHT AND LICENSE

Copyright (C) 2020 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.genius.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.