'Save the result to disk.'

def download_result(self, result):

    if (not self.login()):
        return False
    (urls, filename) = self._make_url(result)
    for url in urls:
        data = self.get_url(url, returns=u'text')
        url_torrent = re.search(u'http://tumejorserie.com/descargar/.+\\.torrent', data, re.DOTALL).group()
        if url_torrent.startswith(u'http'):
            self.headers.update({u'Referer': (u'/'.join(url_torrent.split(u'/')[:3]) + u'/')})
        logger.log(u'Downloading    a    result    from    {0}'.format(url))
        if helpers.download_file(url_torrent, filename, session=self.session, headers=self.headers):
            if self._verify_download(filename):
                logger.log(u'Saved    result    to    {0}'.format(filename), logger.INFO)
                return True
            else:
                logger.log(u'Could    not    download    {0}'.format(url), logger.WARNING)
                helpers.remove_file_failed(filename)
    if urls:
        logger.log(u'Failed    to    download    any    results', logger.WARNING)
    return False
