This is a simple Non-Copyrighted Youtube Media Downloader project which demonstrates how go-colly scrapper can be combined with gin-gonic web framework to stream media data using goroutines
Documentation about API can be found in swagger
- Run
go run main.go
in the root folder - Go to http://localhost:8080/swagger/index.html
- Build
docker build --tag youtube-downloader-api .
- Run
docker run -p 8080:8080 youtube-downloader-api
- Go to http://localhost:8080/swagger/index.html
- Only Non-Copyrighted Youtube media is allowed to be downloaded otherwise request will be rejected
http.Transport
parameters can be modified in order to download larger files more efficiently