|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 1,222 ||All time: 3,117 This week: 116|
This class can parse and extract links and images from Web pages.
It can send a HTTP request to the server of a given URL and retrieves a page to be parsed.
The class searches the retrieved page to extract the URLs of links and images.
A Website parser class to extract links and images from Web pages.
View Demo or Try it out and Rate on phpclasses.org
//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>
Create your feature branch (`git checkout -b my-new-feature`)
Commit your changes (`git commit -am 'Added some feature'`)
Push to the branch (`git push origin my-new-feature`)
Create new Pull Request
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.