protected function modifyResponse(array $response = array())
{
if (!empty($response['html'])) {
$response['html'] = str_replace('#{root_url}', 'https://www.scribd.com/', $response['html']);
$response['html'] = preg_replace('~\\s+~i', ' ', $response['html']);
// Remove double spaces
}
return $response;
}