Compare commits
2 Commits
v1.1.0
...
db731053fc
| Author | SHA1 | Date | |
|---|---|---|---|
| db731053fc | |||
| 8623e6be8d |
12
README.md
12
README.md
@@ -13,7 +13,11 @@ Meant to be used with Docker, but it would work locally if you have [youtube-dl]
|
||||
docker run -it --rm -p 8080:8080 -v $PWD/data:/app/data w33ble/youtube-dl-web
|
||||
```
|
||||
|
||||
Then hit `http://localhost:8080`, passing in a `url` and optionally a `format` query parameter for where to download from.
|
||||
Then hit `http://localhost:8080`, passing in a `url` and optionally a `format` query parameter for where to download from. For example:
|
||||
|
||||
```text
|
||||
http://localhost:8080?url=https://www.youtube.com/watch?v=YE7VzlLtp-4
|
||||
```
|
||||
|
||||
### Automatic cleanup
|
||||
|
||||
@@ -30,9 +34,9 @@ Running it like this, the result from youtube-dl will only be useful from the we
|
||||
## Deploy to Docker Hub
|
||||
|
||||
```sh
|
||||
docker build . -t youtube-dl
|
||||
docker tag youtube-dl USERNAME/youtube-dl:latest
|
||||
docker push USERNAME/youtube-dl:latest
|
||||
docker build . -t youtube-dl-web
|
||||
docker tag youtube-dl w33ble/youtube-dl-web:latest
|
||||
docker push w33ble/youtube-dl-web:latest
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user