Details
About
A 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
-
Fork it
-
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
|
Name: |
PHP Scrape Website Links |
Base name: |
website-parser |
Description: |
Parse and extract links and images from Web pages |
Version: |
1.0.1 |
PHP version: |
5.0 |
License: |
The PHP License |
All time users: |
1221 users |
All time rank: |
3118 |
Week users: |
0 users |
Week rank: |
157  |
|
|
|
Screenshots |
|
|
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.
|
Files |
|
|
Files |
|