def download_youtube_subs(youtube_id, video_descriptor, settings):
 i18n = video_descriptor.runtime.service(video_descriptor, 'i18n')
 _ = i18n.ugettext
 subs = get_transcripts_from_youtube(youtube_id, settings, i18n)
 save_subs_to_store(subs, youtube_id, video_descriptor)
 log.info('Transcripts for youtube_id %s for 1.0 speed are downloaded and saved.', youtube_id)

def download_youtube_subs ( youtube_id , video_descriptor , settings ) : i18n = video_descriptor . runtime . service ( video_descriptor , 'i18n' ) _ = i18n . ugettext subs = get_transcripts_from_youtube ( youtube_id , settings , i18n ) save_subs_to_store ( subs , youtube_id , video_descriptor ) log . info ( 'Transcripts for youtube_id %s for 1.0 speed are downloaded and saved.' , youtube_id )
download transcripts from youtube and save them to assets .