Express and ytdl-core YouTube Video Info and Download API Not Working as Expected
I’m trying to create an API using Node.js with Express and ytdl-core to fetch YouTube video details and provide a download link. However, the API is not working as expected. Here is my code: