File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
1+ <!doctype html>
22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ function App() {
1919 const onclick = async ( ) => {
2020 if ( transcriptService ) {
2121 const text = await transcriptService . textTranscriptionVideo ( ) ;
22- console . log ( text ) ;
2322 setTextTranscript ( text ) ;
2423 }
2524 } ;
Original file line number Diff line number Diff line change @@ -28,9 +28,8 @@ class TranscriptService {
2828 'style-scope ytd-video-description-transcript-section-renderer' ;
2929 const transcriptSegmentsContainerID = 'segments-container' ;
3030
31- // get transcript s
31+ // get transcripts
3232 const transcriptSectionAviable = document . getElementsByClassName ( ytTranscriptSectionStyle ) ;
33-
3433 if ( ! transcriptSectionAviable ) {
3534 return null ;
3635 }
You can’t perform that action at this time.
0 commit comments