http://gitunderground.i2p/archive/youtube-dl/src/branch/master/test/test_subtitles.py
DL . params [ 'subtitleslangs' ] = [ lang ] subtitles = self . getSubtitles () self . assertTrue ( subtitles [ lang ] is not None ) def test_youtube_automatic_captions ( self ): # Available automatic captions for 8YoUxe5ncPo: # Language formats (all in vtt, ttml, srv3, srv2, srv1, json3) # gu, zh-Hans, zh-Hant, gd, ga, gl, lb, la, lo, tt, tr, # lv, lt, tk, th, tg, te, fil, haw, yi, ceb, yo, de, da, # el, eo, en, eu, et, es, ru, rw, ro, bn, be, bg, uk, jv, # bs, ja, or, xh, co, ca, cy, cs, ps, pt,...