I want to create Crawler by using php.To get events from the website.As I entered the website url it will extract the events.But having no idea.So please suggest how can we create the url.
Thanks in advance.
Use this
$obj = new simple_html_dom();
$url = 'http://www.usasf.net/sanctioned/sanctioned_events/';
$htmls = file_get_html($url);
$tests = $htmls->find('div');
print_r($tests);
die;