You need to make a request for each page and capture the content within it.
Assuming the start url is:
    http://site.com/page/1
Soon we can create a class to perform "Crawler" on all pages with a simple loop ( With the class already ready ):
<?php
/**
 * A simple crawler
 * By Rodrigo Nascimento
 * 
 */
set_time_limit(0);
error_reporting(E_ALL);
Class SimpleCrawler {
    private $url;
    private $userAgent;
    private $httpResponse;
    function __construct() {
        $this->userAgent       = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0";
        $this->chocolateCookie = "chocolateCookies.txt";
    }
    /**
     * Seta a url alvo
     * @param string $url
     * @return SimpleCrawler
     */
    public function setUrl($url) {
        $this->url = $url;
        return $this;
    }
    /**
     * Requisição get
     * @return SimpleCrawler
     */
    private function get(){
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $this->url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_USERAGENT, $this->userAgent);
        curl_setopt($ch, CURLOPT_COOKIEFILE, $this->chocolateCookie);
        curl_setopt($ch, CURLOPT_COOKIEFILE, $this->chocolateCookie);
        $this->httpResponse = curl_exec($ch);
        return $this;
    }
    /**
     * Pega o conteudo da requisição
     * @return SimpleCrawler
     */
    public function getPageContent() {
        // Aqui vc pode fazer o parse do content da página utilizando regex ou seja
        // lá qual for o método utilizado.
        echo "Page Content:\n\n",
             "{$this->httpResponse}\n\n";
        return $this;
    }
    /**
     * Faz a navegação na página especificado por self::setUrl
     * @return SimpleCrawler
     */
    public function navigate() {
        echo "Visiting: {$this->url}\n";
        $this->get();
        return $this;
    }
}
/* Estancia do nosso objeto que se baseia nos seguintes métodos:
 * 
 * Definir uma url: $simpleCrawler->setUrl('site');
 * Navegar em dada url: $simpleCrawler->navigate();
 * E por fim ter acesso ao conteúdo da requisição: $simpleCrawler->getPageContent();
 * 
 */
$simpleCrawler = new SimpleCrawler;
// à partir daqui podemos executar quantas requests quisermos.
// Já que precisamos do mesmo site basta um laço simples para efetuar a navegação
$pageNum = 8;
for ($i=1;$i<=$pageNum;$i++):
    $simpleCrawler->setUrl("http://site/page/{$i}")
                  ->navigate()
                  ->getPageContent();
endfor;
That should be enough to accomplish the mission (:
							
							
						 
What have you tried?
– André Ribeiro
@Andre Ribeiro only logical
– Vinícius Lara
take a look at this answer: [Link][1]
 
 
 [1]: http://answall.com/questions/43729/pega-um-valor-dentro-do-html-curlanswertab=votes##tab-top
– yanntinoco