MCPcopy Create free account
hub / github.com/develon2015/Youtube-dl-REST / catchSubtitle

Function catchSubtitle

index.js:248–253  ·  view source on GitHub ↗

* 在以下形式的字符串中捕获字幕: * Language Name Formats <= 返回0, 继续 * gu vtt, ttml, srv3, srv2, srv1 * zh-Hans vtt, ttml, srv3, srv2, srv1 * en English vtt, ttml, srv3, srv2, srv1, json3 * 其它形式一律视为终结符, 返回-1, 终结 * @param {String} line

(line)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseSubtitleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected