Created
July 9, 2023 12:58
-
-
Save cr2007/f6869e769417165efba22feccf313b11 to your computer and use it in GitHub Desktop.
Extracting Microsoft Stream Transcripts
This file contains 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
// Credit: https://www.rushworth.us/lisa/?p=6854 | |
var objTranscriptionLines = window.angular.element(window.document.querySelectorAll('.transcript-list')).scope().$ctrl.transcriptLines; | |
var strRunningText = ""; | |
for(var i = 0; i < objTranscriptionLines.length; i++){ | |
if( objTranscriptionLines[i] ){ | |
var strLineText = objTranscriptionLines[i].eventData.text; | |
strRunningText = strRunningText + "\n" + strLineText; | |
} | |
} | |
console.log(strRunningText); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment