Created
September 22, 2025 14:11
-
-
Save kseikyo/629f6a820d3df47b1603aa5ae9e17d28 to your computer and use it in GitHub Desktop.
Get transcript from google drive video
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const target = "[jsname=h7hTqc]"; | |
| const transcriptList = document.querySelector(target); | |
| const len = transcriptList.children.length; | |
| let transcript = []; | |
| for(let i = 0; i < len; i++){ | |
| transcript.push({timestamp: transcriptList.children[i].children[0].innerHTML, text: transcriptList.children[i].children[1].innerHTML}); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment