]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/postprocessor/metadataparser.py
Improved progress reporting (See desc) (#1125)
[yt-dlp.git] / yt_dlp / postprocessor / metadataparser.py
index f7b0d8bde74c609cd31629840a358b657fd5b943..96aac9beba65fb402f3f848d42b49b4c714d88a8 100644 (file)
@@ -62,8 +62,7 @@ def run(self, info):
 
     def interpretter(self, inp, out):
         def f(info):
-            outtmpl, tmpl_dict = self._downloader.prepare_outtmpl(template, info)
-            data_to_parse = self._downloader.escape_outtmpl(outtmpl) % tmpl_dict
+            data_to_parse = self._downloader.evaluate_outtmpl(template, info)
             self.write_debug(f'Searching for {out_re.pattern!r} in {template!r}')
             match = out_re.search(data_to_parse)
             if match is None: