want to join us? register, it's easy | help
category icon

How To Build A Link Scraper Using PHP

in PHP added by jlaing, on 12/8/2007 advanced tutorials curl dom scraping user-agent xpath

A basic tutorial on how to build a PHP script that scrapes links from any web page. The article goes over extracting content from a site using cURL, parsing the content with PHP's Dom functions, finding links using XPath queries, and storing the links in a MySQL database. Legal issues associated with scraping content is discussed at the end of the tutorial.

comment save report
 
submitted
Sun, Aug 12th 2007, 11:02
clicks today
455
clicks this month
463
clicks all time
3358