how to do web scrapping
Moderator: General Moderators
-
angelic_devil
- Forum Commoner
- Posts: 74
- Joined: Thu Apr 02, 2009 7:05 am
how to do web scrapping
i want to collect data a site into excel...it will take lots of time to do copy paste....is it possible to generaate a script for tht purpose how can i do tht any suggestions or does anyone have a script tht can do this?
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: how to do web scrapping
Use file_get_contents() with the website URL. Then use a regular expression to match the bits of text which you want to use.