Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71588dee79 | ||
|
|
879ce2c090 |
@@ -46,4 +46,5 @@ func init() {
|
||||
POP3: as.Get("pop3").GetString(),
|
||||
Password: as.Get("password").GetString(),
|
||||
}
|
||||
Interval = as.GetDuration("interval")
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user