News Feed
Sections




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

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


blog comments powered by Disqus

Similar Posts

Jonnay's Blog: PHP vs. Javascript: A shit vs. poo fight.

WaxJelly Blog: The easiest way to scrape details from a MySpace profile page with PHP

WaxJelly Blog: The easiest way to scrape details from a MySpace profile page with PHP

DevShed: Building Sample Programs for an IP-to-country Mapping Application

Helgi Þormar's Blog: News about Planet-PHP


Community Events





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


language podcast community list tips bugfix symfony laravel framework introduction api interview library install series voicesoftheelephpant package release opinion deployment

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