lay295 / TwitchDownloader

Twitch VOD/Clip Downloader - Chat Download/Render/Replay
MIT License
2.72k stars 260 forks source link

Windows CLI output parameters #885

Open SupperBOSS opened 12 months ago

SupperBOSS commented 12 months ago

Checklist

How can i use {channel} {date_custom="dd-MM-yyyy"} {id} {title} in CLI

ScrubN commented 12 months ago

This is not currently possible, however I definitely want to make it a possibility.

D3m3rion commented 3 months ago

I was just looking for this, good to know it's currently not possible. Big thumbs up from me for this though, it would simplify my script enormously. I'm currently using yt-dlp for the download, and I have to extract the ID from the link, locate the directory created by yt-dlp, locate the video file inside the directory, and then generate the output path for the chat file before I can use TwitchDownloader. All this could be skipped if I could just use variables.

EDIT: Formatting the values would be nice too, like yt-dlp does it. Something like {title=50c} to only grab the first 50 characters. You already allow arguments for {custom_date=...}.