PHP Scraper: Extract structured data from remote HTML pages

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (8)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 6,165 All time: 359 This week: 284Up
Version License PHP version Categories
phpscraper 1.0.0GNU General Publi...3HTML, Web services
Description Author

This class is meant to fetch remote HTML pages and parse them to extract structured information into arrays.

It can take a model of the definition of the structure of a given page and process it to clip the relevant fields of information.

Recommendations

What is the best PHP web content crawler class?
Extracting content by passing the URL of a web site

Picture of Antonio Rodrigues
Name: Antonio Rodrigues <contact>
Classes: 1 package by
Country: Portugal Portugal
Age: ???
All time rank: 4535 in Portugal Portugal
Week rank: 520 Down10 in Portugal Portugal Down

 

  Files folder image Files  
File Role Description
Plain text file class_scraper.php Class Main class
Accessible without login Plain text file test_scraper.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,165
This week:0
All time:359
This week:284Up
User Ratings User Comments (4)
 All time
Utility:77%StarStarStarStar
Consistency:77%StarStarStarStar
Documentation:-
Examples:64%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2114
 
superb
4 years ago (muabshir)
70%StarStarStarStar
Thanks you have done good work helpful save my time almost 2 ...
9 years ago (Shoaib Jilani)
65%StarStarStarStar
Good class just comment out the "Clean html" lines to allow n...
11 years ago (Marios Kaintatzis)
67%StarStarStarStar
it's not flexible enough.
12 years ago (Tudor Pop)
17%Star
 

For more information send a message to info at phpclasses dot org.