Kakulukian / youtube-transcript

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

[YoutubeTranscript] 🚨 TypeError: Cannot read properties of undefined (reading 'split') errorMsg!!! #14

Open jenny4711 opened 5 months ago

jenny4711 commented 5 months ago

hello. First of all, thank you for creating a module that is so convenient to use. It works fine, but occasionally the following error appears for few days. So I asked gpt, and he gave me a brief method to try. I'll send it along just in case. If not, I would really appreciate it if you could tell me another way or fix it. ERRPR:[YoutubeTranscript] 🚨 TypeError: Cannot read properties of undefined (reading 'split') FROM GPT(You may try this) : const innerTubeApiKey = videoPageBody.toString().split('"INNERTUBE_API_KEY":"')[1]?.split('"')[0] ?? '';

Medullitus commented 3 months ago

BUGGGGGG