suresh_kamrushi Posted August 12, 2011 Share Posted August 12, 2011 Hi All, I have to parse html page (through URL) and get the main content of the page like, page title, small description about it and images if any. I have written a small code of Curl, easily available on PHP manaul or on internet. I am getting all the data with curl_exec($crl) function. But it contains complete html of the page. Now i want filter it so that i can get my information. Thanks in Advance!!! Quote Link to comment https://forums.phpfreaks.com/topic/244582-how-to-get-specific-content-from-curl-response/ Share on other sites More sharing options...
trq Posted August 12, 2011 Share Posted August 12, 2011 The dom extension is probably a good place to start. http://php.net/dom Quote Link to comment https://forums.phpfreaks.com/topic/244582-how-to-get-specific-content-from-curl-response/#findComment-1256362 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.