app/code/community/Nexcessnet/Turpentine/Model/Observer/Cron.php
protected function _crawlUrl($url) {
        $client = Mage::helper('turpentine/cron')->getCrawlerClient();
        $client->setUri($url);
        Mage::helper('turpentine/debug')->logDebug('Crawling URL: %s', $url);
        try {
            $response = $client->request();
        } catch (Exception $e) {
            Mage::helper('turpentine/debug')->logWarn(
                'Error crawling URL (%s): %s',
                $url, $e->getMessage() );
            return false;
        }
        return $response->isSuccessful();
    }
protected function _crawlUrl($url) {
        $client = Mage::helper('turpentine/cron')->getCrawlerClient();
        $client->setUri($url);
        Mage::helper('turpentine/debug')->logDebug('Crawling URL: %s', $url);
        try {
            $response = $client->request();
        } catch (Exception $e) {
            Mage::helper('turpentine/debug')->logWarn(
                'Error crawling URL (%s): %s',
                $url, $e->getMessage() );
            return false;
        }
        return $response->isSuccessful();
    }
protected function _crawlUrl ( $ url ) { $ client = Mage :: helper ( 'turpentine/cron' ) -> getCrawlerClient ( ) ; $ client -> setUri ( $ url ) ; Mage :: helper ( 'turpentine/debug' ) -> logDebug ( 'Crawling URL: %s' , $ url ) ; try { $ response = $ client -> request ( ) ; } catch ( Exception $ e ) { Mage :: helper ( 'turpentine/debug' ) -> logWarn ( 'Error crawling URL (%s): %s' , $ url , $ e -> getMessage ( ) ) ; return false ; } return $ response -> isSuccessful ( ) ; }
Request a single URL, returns whether the request was successful or not

@param  string $url
@return bool
Request a single URL returns whether the request was successful or not