This project is a Java-based version of a YouTube video downloader and audio extractor tool, converted from an original Go implementation. The application starts an HTTP server and utilizes yt-dlp
and ffmpeg
for video downloading and audio extraction.
- Java 8 or higher
- Maven (for building the project)
yt-dlp
andffmpeg
installed and accessible in the system path
- Clone the repository:
git clone https://github.com/yourusername/java-youtube-downloader.git
cd java-youtube-downloader
- Build the project using Maven:
mvn clean package
-
Deploy the generated
.war
file in a servlet container (e.g., Apache Tomcat). -
Access the application via a web browser with the following format:
http://localhost:8080/watch?v=VIDEO_ID
Feel free to submit pull requests for improvements, bug fixes, or new features. We appreciate any contribution that helps to enhance the project.
This project is released under the MIT License. For more information, see the LICENSE file.