File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ type Chunk struct {
72
72
}
73
73
74
74
const ChunksFolder = "chunks"
75
+ const TwitchChatDownloaderCSVHeader = "time,user_name,user_color,message"
75
76
76
77
func (chunk Chunk ) Name () string {
77
78
inputPath := strings .ReplaceAll (chunk .InputPath , "/" , "_" )
@@ -923,7 +924,7 @@ var Subcommands = map[string]Subcommand{
923
924
}
924
925
925
926
if * csvPtr {
926
- fmt .Printf ("time,user_name,user_color,message \n " );
927
+ fmt .Printf ("%s \n " , TwitchChatDownloaderCSVHeader );
927
928
var cursor Millis = 0
928
929
for _ , chunk := range context .chunks {
929
930
for _ , messageGroup := range chunk .ChatLog {
@@ -1265,6 +1266,7 @@ var Subcommands = map[string]Subcommand{
1265
1266
return gqlCursorId , true
1266
1267
}
1267
1268
1269
+ fmt .Printf ("%s\n " , TwitchChatDownloaderCSVHeader );
1268
1270
gqlCursorId , ok := queryMessagesByOffset (* videoIdPtr , "" )
1269
1271
if ! ok {
1270
1272
return false
You can’t perform that action at this time.
0 commit comments