1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[outtmpl] Support multiplication

Related: #8683
This commit is contained in:
pukkandan
2023-12-06 03:44:11 +05:30
parent 6a9c7a2b52
commit 993edd3f6e
3 changed files with 3 additions and 1 deletions

View File

@@ -1179,6 +1179,7 @@ class YoutubeDL:
MATH_FUNCTIONS = {
'+': float.__add__,
'-': float.__sub__,
'*': float.__mul__,
}
# Field is of the form key1.key2...
# where keys (except first) can be string, int, slice or "{field, ...}"