Nigel Horne

NAME

WWW::Scrape::FindaGrave - Scrape the FindaGrave site

VERSION

Version 0.02

SYNOPSIS

    use HTTP::Cache::Transparent;  # be nice
    use WWW::Scape::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 manadatory arguments firstname and lastname.

Also one of either date_of_birth and date_of_death must be given

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

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-Scape-FindaGrave. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

http://https://github.com/nigelhorne/gedgrave http://www.findagrave.com

SUPPORT

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

    perldoc WWW::Scape::FindaGrave

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2016 Nigel Horne.

This program is released under the following licence: GPL