Plenty of Python apps end up wanting the same feature: a user sends a YouTube, TikTok or podcast link and you need the transcript, to summarize it, index it or hand it to a model. The first version usually uses a captions library and works fine on your machine.
Then you deploy it. Requests from cloud servers get blocked or asked to sign in, so code that worked locally starts failing in production. And a lot of videos have no captions, so you also need speech-to-text, which means downloading audio and wiring up a second service.
I built Importly for this, so that's what this post uses. You send it a link and get back the transcript, the file or the metadata, and it works from servers. Here's the FastAPI version.…