From a99f65918fdc62c0ec8b48d31deb391a1fe3e206 Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Sun, 26 Sep 2021 12:33:03 +0930 Subject: [PATCH] Fix regexp for the "merge" log line --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8468dca..71dea07 100644 --- a/main.go +++ b/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])