From 370281f22b6c6c75ec05a0768169b8efdcde25df Mon Sep 17 00:00:00 2001 From: Leonardo Taccari Date: Thu, 4 Jun 2020 21:57:57 +0200 Subject: [PATCH] Cleanup more possible noises (In some subtitles position can be different then 0%) --- ytautosubcleaner.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytautosubcleaner.awk b/ytautosubcleaner.awk index 475729f..1b977ff 100644 --- a/ytautosubcleaner.awk +++ b/ytautosubcleaner.awk @@ -7,7 +7,7 @@ # /^[0-9]+:[0-9]+:[0-9]+\.[0-9]+ -->/ { - sub(/ align:start position:0%$/, "") + sub(/ align:start.*$/, "") if (caption && split(caption, lines, "\n") > 2) { print caption -- 2.26.2