livewirerules Posted October 15, 2009 Share Posted October 15, 2009 i have written a code that will grab the content from the index page.. i would like to know how can i leech completely thru the siteĀ (index,contact, news pages) and grab specific content only like Numbers and specific words Link to comment https://forums.phpfreaks.com/topic/177748-extract-content-from-a-website/ Share on other sites More sharing options...
dymon Posted October 15, 2009 Share Posted October 15, 2009 You could use a function like file_get_contents() to get the content of the specific page into a string, and than to use regex to parse it and extract the things you need from there. Link to comment https://forums.phpfreaks.com/topic/177748-extract-content-from-a-website/#findComment-937282 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.