node-ytdl icon indicating copy to clipboard operation
node-ytdl copied to clipboard

Tags don't get interpolated: "{author.name}", "{title}".

Open OnkelTem opened this issue 3 years ago • 1 comments

I run ytdl as:

$ ytdl <URL> -o "{author.name} - {title}"

and resulting file gets a name of '{author.name} - {title}.mp4' so no interpolation takes place.

I thought that maybe props are empty, but here is what info command (-i ) shows:

$ <URL> -q 247 -i
title: My Trip From ...
author: Coac...
avg rating: undefined
...

Maybe {author.name} was wrong and I should have used {author} instead, but title was not substituted as well.

$ ytdl --version
1.4.1

OnkelTem avatar Mar 01 '22 19:03 OnkelTem

dup of #183

TimeForANinja avatar Mar 05 '22 00:03 TimeForANinja