Whoops I lost this repo and scraped from docker image

This commit is contained in:
bel
2020-12-08 07:42:46 -07:00
parent 20326f2f39
commit eba8001ca0
3 changed files with 13 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ func New() (*Client, error) {
func (c *Client) Download(video, local string) error {
errs := []error{}
for _, extras := range [][]string{
[]string{"--metadata-from-title", ".*[0-9]/[0-9][0-9] (?P<title>.+)"},
[]string{"--add-metadata", "--metadata-from-title", ".*[0-9]/[0-9][0-9] (?P<title>.+)"},
[]string{},
} {
args := append([]string{