diff --git a/youtubesearchpython/core/transcript.py b/youtubesearchpython/core/transcript.py index e98e3fd..3b6b186 100644 --- a/youtubesearchpython/core/transcript.py +++ b/youtubesearchpython/core/transcript.py @@ -69,7 +69,7 @@ def extract_transcript(self): j = { "startMs": getValue(segment, ["startMs"]), "endMs": getValue(segment, ["endMs"]), - "text": getValue(segment, ["snippet", "simpleText"]), + "text": getValue(segment, ["snippet", "runs", 0, "text"]), "startTime": getValue(segment, ["startTimeText", "simpleText"]) } segments.append(j)