Hi guys,
I’ve created an awesome PHP web scraper that works like a charm! The problem is however, when I try to scrape the site which is seen in my code, I get nothing. I believe that it has something to do with how the page is displayed in frames and how the data is presented after a query is made. Is there any way to scrape this page sucessfully?
The PHP scraper that I am using:
[php]
</head>
<body>
<?php
$url = 'http://www.tides.gc.ca/cgi-bin/tide-shc.cgi?queryType=showFrameset&zone=10&language=english®ion=1&stnnum=7735';
$output = file_get_contents($url);
echo $output;
?>
</body>
[/php]
Thanks guys!