SIGN IN SIGN UP
iawia002 / lux UNCLAIMED

👾 Fast and simple video download library and CLI tool written in Go

0 0 71 Go

feat: add YouTube subtitle download & embed support (Fixes #288) (#1430)

* feat(youtube): add support for video captions in youtubeDownload

* feat(youtube): filter subtitles based on Items option in Extract method

* feat(youtube): display available caption languages in printInfo

* feat(youtube): add option to embed subtitles into video during download

* refactor(downloader): use utils.ConvertXmlToSrt and remove redundant function

* test(utils): add unit test for ConvertXMLToSRT function

* feat(readme): update subtitle download options and embed feature for YouTube

* refactor(downloader): rename ConvertXmlToSrt to ConvertXMLFileToSRT and update implementation

* refactor(ffmpeg): enhance subtitle handling with ISO 639-2 mapping and codec selection

* refactor(utils): simplify XML unmarshalling in ConvertXMLToSRT function
C
CHEN, JIAN-LIN committed
3d84b490142728e1f3a8cb934ab34a942ce1ff9f
Parent: baece38
Committed by GitHub <noreply@github.com> on 12/12/2025, 2:29:12 PM