You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@
6
6
7
7
Simple Web and REST interface for downloading youtube videos onto a server. [`bottle`](https://github.com/bottlepy/bottle) + [`youtube-dl`](https://github.com/rg3/youtube-dl) / [`youtube-dlc`](https://github.com/blackjack4494/yt-dlc)
8
8
9
-
*Note:* The main branch and docker image are now using youtube-dlc, the development of which is more active. To use the original youtube-dl, use branch [youtube-dl](https://github.com/nbr23/youtube-dl-server/tree/youtube-dl).
10
-
11
9
Forked from [manbearwiz/youtube-dl-server](https://github.com/manbearwiz/youtube-dl-server).
12
10
13
11
![screenshot][1]
@@ -19,7 +17,9 @@ Forked from [manbearwiz/youtube-dl-server](https://github.com/manbearwiz/youtube
19
17
20
18
For easier deployment, a docker image is available on [dockerhub](https://hub.docker.com/r/nbr23/youtube-dl-server).
21
19
22
-
The `latest` image now uses youtube-dlc. For the original youtube-dl based image, use `nbr23/youtube-dl-server:youtube-dl`
20
+
The `latest` tag uses `youtube-dl`.
21
+
22
+
You can ensure you are using `youtube-dl` or `youtube-dlc` by using the tags of the same name, eg: `nbr23/youtube-dl-server:youtube-dl` and `nbr23/youtube-dl-server:youtube-dlc`.
23
23
24
24
### Docker CLI
25
25
@@ -29,12 +29,6 @@ This example uses the docker run command to create the container to run the app.
29
29
docker run -d --name youtube-dl -v $HOME/youtube-dl:/youtube-dl nbr23/youtube-dl-server:latest
30
30
```
31
31
32
-
For the original youtube-dl:
33
-
34
-
```shell
35
-
docker run -d --name youtube-dl -v $HOME/youtube-dl:/youtube-dl nbr23/youtube-dl-server:youtube-dl
36
-
```
37
-
38
32
### Docker Compose
39
33
40
34
This is an example service definition that could be put in `docker-compose.yml`.
@@ -47,8 +41,6 @@ This is an example service definition that could be put in `docker-compose.yml`.
47
41
restart: always
48
42
```
49
43
50
-
The `latest` image now uses youtube-dlc. For the original youtube-dl based image, use `nbr23/youtube-dl-server:youtube-dl`
51
-
52
44
#### Configuration
53
45
For easier configuration management and edition, you can save your variables in an external file and source them in your docker-compose.yml like the following example.
54
46
@@ -76,10 +68,18 @@ docker-compose.yml:
76
68
77
69
If you have python ^3.3.0 installed in your PATH you can simply run like this, providing optional environment variable overrides inline.
78
70
71
+
You will need `bottle` and either `youtube-dl` or `youtube-dlc` installed locally.
The server uses [`bottle`](https://github.com/bottlepy/bottle) for the web framework and [`youtube-dl`](https://github.com/rg3/youtube-dl) to handle the downloading. The integration with youtube-dl makes use of their [python api](https://github.com/rg3/youtube-dl#embedding-youtube-dl).
132
+
The server uses [`bottle`](https://github.com/bottlepy/bottle) for the web framework and [`youtube-dl`](https://github.com/rg3/youtube-dl)/ [`youtube-dlc`](https://github.com/blackjack4494/yt-dlc)to handle the downloading. The integration with youtube-dl makes use of their [python api](https://github.com/rg3/youtube-dl#embedding-youtube-dl).
133
133
134
134
This docker image is based on [`python:alpine`](https://registry.hub.docker.com/_/python/) and consequently [`alpine:3.8`](https://hub.docker.com/_/alpine/).
0 commit comments