Page 1 of 1

how to do web scrapping

Posted: Wed Apr 08, 2009 9:42 am
by angelic_devil
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?

Re: how to do web scrapping

Posted: Wed Apr 08, 2009 10:54 am
by jayshields
Use file_get_contents() with the website URL. Then use a regular expression to match the bits of text which you want to use.