We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34c0dd9 commit 19c472fCopy full SHA for 19c472f
markut.go
@@ -347,7 +347,12 @@ func loadTwitchChatDownloaderCSVButParseManually(path string) ([]ChatMessageGrou
347
348
content := string(bytes)
349
for i, line := range strings.Split(content, "\n") {
350
+ if i == 0 && line == TwitchChatDownloaderCSVHeader {
351
+ // If first line contains the TwitchChatDownloader's stupid header, just ignore it. Just let people have it.
352
+ continue
353
+ }
354
if len(line) == 0 {
355
+ // We encounter empty line usually at the end of the file. So it should be safe to break.
356
break
357
}
358
pair := strings.SplitN(line, ",", 2)
0 commit comments