Linux Build Status Windows Build status Coverage Status Dependency Status

WWW::Scrape::FindaGrave

Scrape the Find a Grave website

VERSION

Version 0.05

SYNOPSIS

use HTTP::Cache::Transparent;  # be nice
use WWW::Scrape::FindaGrave;

HTTP::Cache::Transparent::init({
    BasePath => '/var/cache/findagrave'
});
my $f = WWW::Scrape::FindaGrave->new({
    firstname => 'John',
    lastname => 'Smith',
    country => 'England',
    date_of_death => 1862
});

while(my $url = $f->get_next_entry()) {
    print "$url\n";
}

}

SUBROUTINES/METHODS

new

Creates a WWW::Scrape::FindaGrave object.

It takes two mandatory arguments firstname and lastname.

Also one of either date_of_birth and date_of_death must be given

There are three optional arguments: middlename, ua and mech. Mech is a pointer to an object such as WWW::Mechanize. If not given it will be created.

ua is a pointer to an object that understands get and env_proxy messages, such as LWP::UserAgent::Throttled.

get_next_entry

Returns the next match as a URL to the Find-A-Grave page.

AUTHOR

Nigel Horne, <njh at bandsman.co.uk>

BUGS

Please report any bugs or feature requests to bug-www-scrape-findagrave at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Scrape-FindaGrave. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

https://github.com/nigelhorne/gedgrave https://old.findagrave.com

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WWW::Scrape::FindaGrave

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2016-2017 Nigel Horne.

This program is released under the following licence: GPL