Kakulukian / youtube-transcript

Fetch transcript from a youtube video
240 stars 51 forks source link

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

Closed harshuchilzy closed 5 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 12 months ago

same issue

joshcho96 commented 11 months ago

same issue.

joshcho96 commented 11 months 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 11 months 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 9 months ago

Is there a way around it?