News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DeveloperTutorials.com:
Scraping Links With PHP
January 14, 2008 @ 08:44:00

The Developer Tutorials site has posted a new article covering the creation of a small application that can help you scrape content from a remote page and pull it into your script.

In this tutorial you will learn how to build a PHP script that scrapes links from any web page.

You'll learn to use cURL, the DOM functions, XPath and a bit of MySQL to get the job done. It's nice to see that they also include a section looking at one of the more touchy aspects of web page scraping - "is it legal?"

0 comments voice your opinion now!
scraping webpage remote curl xpath dom mysql scraping webpage remote curl xpath dom mysql


blog comments powered by Disqus

Similar Posts

MSBWare.com: XML to Array

DevShed: Using Directory Iterators and MySQL with Adapter Objects with PHP

Juozas Kaziukenas' Blog: Web scraping with PHP and XPath

FrSIRT Advisory: P-News Arbitrary PHP File Upload and Remote Information Disclosure Vulnerabilities

Till Klampaeckel's Blog: So you'd like to migrate from MySQL to CouchDB? - Part II


Community Events





Don't see your event here?
Let us know!


framework mvc update security opinion composer interview community package library symfony podcast introduction laravel tool version series release language voicesoftheelephpant

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework