copy & paste the following code
require_once "emailReaper.php";
$url = 'url-to-search-for-emails'; // url or the path to the file
$reaper = new carloF\EmailReaper($url);
$reaper->getEmails() - return an array of found emails.
$reaper->printEmails() - echoes a list of found emails.
$reaper->exportEmails($destFile) - save the list in a file ($destFile)