There are definitely a variety of much easier ways to extract audio from YouTube videos! The tutorial isn’t really meant to be a highly realistic use-case, but rather a general illustration of how these tools, services, and techniques can be used in conjunction with each other. The general approach of prototyping simple APIs with Express and then deploying them using API Gateway/Lambda is an extremely useful pattern.
That’s kinda cool, though it seems like a lot of effort vs bundling
youtube-dlinto your lambda package.There are definitely a variety of much easier ways to extract audio from YouTube videos! The tutorial isn’t really meant to be a highly realistic use-case, but rather a general illustration of how these tools, services, and techniques can be used in conjunction with each other. The general approach of prototyping simple APIs with Express and then deploying them using API Gateway/Lambda is an extremely useful pattern.