What's the Best Way to Get YouTube Transcriptions for My App?
Asked by
SunnyDaze99
I'm developing a new app that requires YouTube transcriptions. I've thought about scraping them by myself, but I'm wondering if there's a more straightforward method to obtain these transcripts from YouTube.
Answers
If you're comfortable with command-line tools, try using `yt-dlp`. Just run this command: `yt-dlp --write-auto-sub --convert-subs=srt --skip-download `. Itโs pretty efficient and gets the job done!
Reply to this answer
Apify also has a tool called YouTube Transcript Getter which makes this super easy. You can set it up in Python with just a bit of code, and the costs are very low per video. Plus, you get some free credits each month, so it's worth checking out!
TechWhiz22: That's great to know! Looks like Apify is a popular choice. Iโll definitely take a look.
Reply to this answer
You might want to check out a service like Apify. They have reliable options for scraping YouTube transcripts, though it can get a bit pricey. They also offer additional features beyond just transcriptions.
Reply to this answer
You could generate transcripts by extracting the audio from the video and using a local language model for transcription. It's a solid approach if you're looking for flexibility and control.
Reply to this answer
Add your answer
Answers are reviewed before publication.
CuriousCat45: Is this tool free? And how do you go about installing it?