You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output (sub)path template support with --output-template. You can now customize the names of the output files and create subfolders relative to the --output-directory. (#12)
In the CLI, path templates are specified in the yt-dlp / ytarchive-style %(key)s format, excluding file extension. The stream title is truncated as needed to ensure all output paths are consistent.
moonarchive doesn't use Python's native string interpolation mechanism (it reimplements the formatting style under the string.Template class), and so does not allow the exotic formatting options that are present in yt-dlp.
Note that the API does not have this restriction, and by default uses a version of the formatting class that derives from string.Template.
Absolute paths in --output-template are forbidden; if you really want, you can set the --output-directory to the filesystem root, then specify --output-template relative to that.