Recommend this page to a friend! |
Classes of Morshed Alam | PHP Scrape Website Links | README.md | Download |
|
DownloadAboutA Website parser class to extract links and images from Web pages. View Demo or Try it out and Rate on phpclasses.org Uses<pre><code>include 'website_parser.php'; //Instance of WebsiteParser $parser = new WebsiteParser('http://morshed-alam.com/'); //Get all hyper links $links = $parser->getHrefLinks(); //Get all image sources $images = $parser->getImageSources(); //Get all meta tags and Facebook open graph properties $meta_tags = $parser->getMetaTags();</code></pre> Contributing
|