diff --git a/youtubedl/client.go b/youtubedl/client.go index 0e0b887..1eecf76 100755 --- a/youtubedl/client.go +++ b/youtubedl/client.go @@ -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), ),