scrap data using regex and simplehtmldom
问题 i am trying to scrap some data from this site : http://laperuanavegana.wordpress.com/ . actually i want the title of recipe and ingredients . ingredients is located inside two specific keyword . i am trying to get this data using regex and simplehtmldom . but its showing the full html text not just the ingredients . here is my code : include_once('simple_html_dom.php'); $base_url = "http://laperuanavegana.wordpress.com/"; traverse($base_url); function traverse($base_url) { $html = file_get