'Start downloading a particular torrent and add it to download list in Tribler'

def start_download(self, torrent):

    dscfg = DownloadStartupConfig()
    dscfg.set_dest_dir(self.settings.credit_mining_path)
    dscfg.set_safe_seeding(False)
    preload = torrent.get('preload', False)
    if self.session.lm.download_exists(torrent['metainfo'].get_infohash()):
        self._logger.error('Already    downloading    %s.    Cancel    start_download', hexlify(torrent['metainfo'].get_infohash()))
        return
    self._logger.info('Starting    %s    preload    %s', hexlify(torrent['metainfo'].get_infohash()), preload)
    torrent['download'] = self.session.lm.add(torrent['metainfo'], dscfg, hidden=True, share_mode=(not preload), checkpoint_disabled=True)
    torrent['download'].set_priority(torrent.get('prio', 1))
