Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[request] Download all formats in one go. #14

Closed
Gorrrg opened this issue Mar 26, 2017 · 2 comments
Closed

[request] Download all formats in one go. #14

Gorrrg opened this issue Mar 26, 2017 · 2 comments
Assignees

Comments

@Gorrrg
Copy link
Contributor

Gorrrg commented Mar 26, 2017

Currently only one file is written to disk with each program start. But I usually want the chat in all formats, so I created a shell script to start TCD four times in a row. But this is inefficient (and not nice towards Twitch) because really the chat only needs to be downloaded once, since the different output is based on the same input JSON.

It would be more convenient when there was an option to either just save all formats or have TCD download the formats you have selected on the command line with (multiple) "-f" in one sweep.

@PetterKraabol
Copy link
Owner

--format all will first download JSON data form Twitch and use that for all formats.
--input ./v123456789.json can be used to input a JSON file to avoid the Twitch API.

See https://github.com/PetterKraabol/Twitch-Chat-Downloader/wiki/Formats#download-all-formats

@Gorrrg
Copy link
Contributor Author

Gorrrg commented Jan 8, 2018

--input ./v123456789.json can be used to input a JSON file to avoid the Twitch API.

Wow, that's really neat. That way you can easily rewrite every format later when you have made changes to your settings.json!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants