Sign in
Log inSign up
nidhinkumar

1.1K reads

2 comments

Jim Bowen
Jim Bowen
Sep 12, 2024

Just what I was looking for! But I am getting a CORS error because I am running the code from localhost. Apparently, you embedded your code in the youtube video page from which you are getting the transcript, somehow. Do you have some code to get around the CORS error to make your code more generally applicable?

·
·1 reply
Jim Bowen
Jim Bowen
Sep 12, 2024

To get around the CORS error, I executed your code in my web server via an API call and returned the transcript in the API.

·