src/Dominia/Crawler.php
private function getDocument($query){
        $response = $this->client->request('GET', $query);
        $content = $response->getBody();
        return $content;
    }
private function getDocument($query){
        $response = $this->client->request('GET', $query);
        $content = $response->getBody();
        return $content;
    }
Retrieves the content of the document specified by the $query parameter
@param $query   QueryString of pdf document
@return \Psr\Http\Message\StreamInterface
@throws \GuzzleHttp\Exception\GuzzleException