Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://gitlab.com/gzachariadis/twitch-chat-downloader

Download twitch chat logs given a VOD ID.
https://gitlab.com/gzachariadis/twitch-chat-downloader

nodejs twitch

Last synced: 3 months ago
JSON representation

Download twitch chat logs given a VOD ID.

Awesome Lists containing this project

README

        

Twitch Chat Log Downloader
==========================

A quick and dirty tool for downloading a Twitch VODs chat and outputting to a csv (spreadsheet that you can open in
Excel, Google Sheets, etc).

Outputted columns:
* VOD timestamp
* Username
* Message

Batches of messages are loaded in sequence with 0.3 second delays to avoid Twitch from throttling you.

Installation
------------

1. Clone it
2. Switch to the directory
3. Install required packages

```
git clone https://gitlab.com/gzachariadistwitch/twitch-chat-downloader.git
cd twitch-chat-downloader
npm install
```

Usage
-----

```
npm start -- [-o | -s]
```

Get the `vodId` by opening the VOD up in a browser, and then copying the number that follows
`https://www.twitch.tv/videos/`.

You can specify the output filename with the optional `-o` parameter. If left blank, the outputted file will be named
`output-.csv`. If you do not wish to output to a file, use the `-s` parameter and it will log to std (the
console) instead.

I suggest you use .log if on Linux systems, .txt or .csv on Windows Systems. But it's up to you. It will output to most if not all text based formats.