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,172 All time: 361 This week: 223Up
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: 4585 in Portugal Portugal
Week rank: 562 Down11 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,172
This week:0
All time:361
This week:223Up
User Ratings User Comments (4)
 All time
Utility:77%StarStarStarStar
Consistency:77%StarStarStarStar
Documentation:-
Examples:64%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2125
 
superb
4 years ago (muabshir)
70%StarStarStarStar
Thanks you have done good work helpful save my time almost 2 ...
10 years ago (Shoaib Jilani)
65%StarStarStarStar
Good class just comment out the "Clean html" lines to allow n...
12 years ago (Marios Kaintatzis)
67%StarStarStarStar
it's not flexible enough.
13 years ago (Tudor Pop)
17%Star
 
For more information send a message to info at phpclasses dot org.