Build A Link Scraper With PHP

Submitted by Makebeta » In this tutorial you will learn how to build a PHP script that scrapes links from any web page. The lesson covers 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.
Rating: 3.0/5 | 1,152 clicks | 1 comment | 1 save | share | report

Share this tutorial

There are a number of different ways to share this tutorial with others. Below are the links to many different social networking and social bookmarking sites- just click on your favorite service and most of the work should be done for you. Other methods of sharing tutorials will come in the future.

digg it · save to del.icio.us · share on facebook · reddit · furl · blinklist · ma.gnolia · pixel groovy