Fix regexp for the "merge" log line
This commit is contained in:
parent
f9ec3a4b25
commit
a99f65918f
2
main.go
2
main.go
@ -309,7 +309,7 @@ func updateMetadata(dl *download, s string) {
|
||||
|
||||
// This means a file has been "created" by merging others
|
||||
// [ffmpeg] Merging formats into "Toto - Africa (Official HD Video)-FTQbiNvZqaY.mp4"
|
||||
mergedFilename := regexp.MustCompile(`Merging formats into "(.+)$`)
|
||||
mergedFilename := regexp.MustCompile(`Merging formats into "(.+)"$`)
|
||||
matches = mergedFilename.FindStringSubmatch(s)
|
||||
if len(matches) == 2 {
|
||||
dl.Files = append(dl.Files, matches[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user