gatecrasher777 / ytcog-dl

Command line interface (CLI) for the ytcog innertube library
MIT License
3 stars 1 forks source link

Subtitles #8

Open sclsj opened 2 years ago

sclsj commented 2 years ago

Some questions:

gatecrasher777 commented 2 years ago

For --subtitles, will ytcog error if it does not find a corresponding subtitle or will it just ignore the option? If it finds no captions listed in video information it will ignore your subtitle request.

Does ytcog differentiate between automatically generated subtitle, community-created subtitle, and content-creator-uploaded subtitle?

No, it just looks at the captions section in the video info file and extracts links for the given subtitle languages. If you are able to find sample videos where those different varieties of subtitles are present, please advise, and I can look into differentiating is possible/necessary.

What default subtitle will ytcog set if there are multiple subtitle languages present?

If your language is not present in the available subtitles, it will use the default subtitle language and (Google) translate those subtitles into the language(s) you require.