Kakulukian / youtube-transcript

Fetch transcript from a youtube video
307 stars 61 forks source link

Uncaught (in promise) Error: [YoutubeTranscript] 🚨 TypeError: URL is not a constructor #9

Closed harshuchilzy closed 8 months ago

harshuchilzy commented 1 year ago

When I try to fetch a transcript i get this error

console.log(YoutubeTranscript.fetchTranscript('W5ESi5qDxCY', { lang: 'en' }))

bhattiasad99 commented 1 year ago

Same issue im facing

hamza-al commented 1 year ago

same issue

joshcho96 commented 1 year ago

same issue.

joshcho96 commented 1 year ago

I found the reason to this problem. This package does not work on the Client Web (React CRA). Only works on backend.

harshuchilzy commented 1 year ago

I found the reason to this problem. This package does not work on the Client Web (React CRA). Only works on backend.

Ahhh right :(

ashishbamania commented 1 year ago

Is there a way around it?