docs: add url usage example

This commit is contained in:
2019-12-31 14:44:28 -07:00
parent 8623e6be8d
commit db731053fc

View File

@@ -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