morshedalam/url-scraper-php — pull request #1 by yepme (2013-06-25 02:00:18+00:00)
Title: Add the ability to choose the links type to grab

Add the ability to choose the links type to grab

Just use:
$parser = new WebsiteParser($target_url);
$parser->setLinksType(WebsiteParser::LINK_TYPE_EXTERNAL); // for only external links