Youtube Scraper Broken

Has anyone else found the Youtube scraper is broken?
I had it working last week. I followed the previous articles on this community:
this one

and even the template in this one:

Now neither of them seem to be working.
Did they change the code and now “youtube-transcript” is no longer working?
Does anyone have a fix yet?

p.s. I know the videos do have transcripts
The console error on the code is giving this:

Error occurred: Error: Subtitles are not available in the top 30 languages for this video.
at Object.code (/codes/80y9uXB9JqX46Gx3TrEW6/step_1/index.js:23:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

"

Funny enough, I was just responding to a personal message about this exact issue!

Yes, I’ve noticed the YouTube scraper is currently broken. I had it working recently as well, but it seems like YouTube may have made some changes to their API, and the libraries we use haven’t caught up yet.

I’ve tried various solutions to fix it, including using browser automations to run the automation as a backup. I know some people might not have access to browser automations or find them unreliable, which adds to the challenge. I’m also looking into using the “Salad API” from Appsumo as a potential fix.

I am actively working on resolving this and will keep everyone updated. I appreciate your patience and understanding. In the meantime, I’m considering creating a tutorial to guide through any updates made.

I am pretty sure it would get fixed soon, but you might need to add a browser scraper or get Salad API as a branch to your automation, if it fails.

2 Likes

Ok. Thanks for your reply. BTW Salad API doesn’t transcribe Youtube.
Would require an app to download the Vid and then transcribe from the file.

Exactly! but i found out the hard way after getting it :sweat_smile:
still trying to look for a way around it but i might just end up using a browser automation at this point.

1 Like

Same issue here. It just broke.

This one used this: GitHub - algolia/youtube-captions-scraper: Fetch youtube user submitted or fallback to auto-generated captions

We might be able to use this instead: GitHub - devhims/youtube-caption-extractor: A lightweight package to scrape and parse captions (subtitles) from YouTube videos, supporting both user-submitted and auto-generated captions with language options.