News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
WaxJelly Blog:
The easiest way to scrape details from a MySpace profile page with PHP
March 20, 2007 @ 10:41:00

From the WaxJelly blog today comes a handy bit of code for anyone out there looking to scrape details from just about any MySpace page out there (quick and easy).

It's amazing how just a little optimization on the part of myspace makes crawling their site so much easier. We're going to scrape the user detail (name, age, sex, etc..) from a profile, using the header info...

The script grabs the contents of the given URL, loops through, pulls out the meta tag information and uses that as a key to grab the rest of the user's information (including name, age, city, state, etc).

0 comments voice your opinion now!
scrape myspace details meta city state country name scrape myspace details meta city state country name



Similar Posts

Nexen.net: Latest PHP Statistics for May 2006 Posted

Stubbles Blog: State of annotations in the PHP world

DevShed: Retrieving Information on Selected Files with a PHP 5 File Uploader

Brent Meshier's Blog: Blocking visitors by country using PHP & MySQL

Philip Olson's Blog: 20 possible reasons why PHP function names and parameters are weird


Community Events

phpnw10 PHP Conference 09/10/2010




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


database suggestion introduction zendframework framework conference screencast developer phpunit example opinion codeigniter book wordpress tool azure plugin application development unittest

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