22 Oct 2020 09:45:32 UTC
- Distribution: Lyrics-Fetcher-Genius
- Module version: 0.05
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (5 / 85 / 0)
- KwaliteeBus factor: 1
- % Coverage
- License: perl_5
- Activity24 month
- Download (5.32KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionBIGPRESH David Precious
Lyrics::Fetcher::Genius - Get song lyrics from www.genius.com
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>');
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.
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.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
David Precious <firstname.lastname@example.org>
Original version contributed by Jim Turner in RT 133592
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.
Module Install Instructions
To install Lyrics::Fetcher::Genius, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Lyrics::Fetcher::Genius
For more information on module installation, please visit the detailed CPAN module installation guide.