Skip to content

If line begins with whitespace, all text lost #1

@wordsmith189

Description

@wordsmith189

Hi! I'm excited to use YouTube transcripts, then convert to TextGrid... Your script (thanks!!) works with the demo srt file (Katie) but my srt file, attached here, won't work. I assume because lines start with blank space? They were induced when I used an online converter to go from sbv to srt. (I think YouTube only outputs sbv these days?)

Any idea if this is fixable?

captions.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions