parseYoutubeCaptionTracks
Import from: @xbbg/xnews, @xbbg/xnews/parsers
parseYoutubeCaptionTracks(
body):YoutubeCaptionTrack[]
Defined in: src/sources/youtubetranscript.ts (declaration: sources/youtubetranscript.d.ts:50)
Reads the caption track list out of watch-page HTML or player-response JSON.
Parameters
body
string
