invoke vtt to srt as dedicated binary
parent
0016e5afa9
commit
879ce2c090
|
|
@ -52,7 +52,8 @@ func (c *Client) Download(video, local string) error {
|
|||
"/bin/sh",
|
||||
"-c",
|
||||
fmt.Sprintf(
|
||||
"true; python3 -m vtt_to_srt %q || python3 /usr/bin/vtt_to_srt.py %q",
|
||||
"true; python3 -m vtt_to_srt %q || python3 /usr/bin/vtt_to_srt.py %q || vtt_to_srt %q",
|
||||
path.Dir(local),
|
||||
path.Dir(local),
|
||||
path.Dir(local),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue