An open API service indexing awesome lists of open source software.

https://github.com/sillyhatxu/docker-youtube-download


https://github.com/sillyhatxu/docker-youtube-download

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# docker-youtube-download

> The project uses the [youtube-dl](https://github.com/ytdl-org/youtube-dl) plug-in
>
> If you don't want to download plug-in for your company.
>
> You can ues this docker image.
>
> The download.sh file should be in the `/test/` directory.

```
youtube-dl -i -r 1M -o '/app/AAAAAAAA/%(title)s.%(ext)s' "https://www.youtube.com/watch?v=jul2urONzOQ&list=aaaaaaaaaaaaaaaaaaaaaaaaa"

youtube-dl -i -r 1M -o '/app/BBBBBBBBB/%(title)s.%(ext)s' "https://www.youtube.com/watch?v=KaA_mxga3PQ&list=bbbbbbbbbbbbbbbbbbbb"
```

> If you want to download a channel all video
```
youtube-dl -i -r 1M -o '/app/%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/channel/xxxxxxxxxxxxxxxxx/playlists
```

> When you execute this command
```
docker run -d -v `pwd`/test/:/app xushikuan/youtube-download:1.0
```