You can try with Curl, there are options for cookies...then you need to 'scrap' to find the cookie...I did it last week for a Yahoo financial api that changes... Some additional parameters for https links, but nothing too difficult.
exemple for a https
public function getCookie()
{
//echo $this->url;
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_URL, $this->urlCookie);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
$response = curl_exec($ch);
// Then, after your curl_exec call:
$header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
$this->header = substr($response, 0, $header_size);
$this->body = substr($response, $header_size);
// parse header to find your cookie
$cookie = '';
$your_array = explode(";", $this->header);
etc
then you can read url with cookie
public function getContents($thisURL) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_URL, $thisURL);
curl_setopt( $ch, CURLOPT_COOKIE, $this->cookie );
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$data = curl_exec($ch);
$errmsg = curl_error( $ch );
$header = curl_getinfo( $ch );
curl_close($ch);
return $data;
}
If not, you could use some things like Snoopy
cannot help more, lol