Skip to content

Commit 27f8450

Browse files
committed
Updated README again
1 parent 24197e4 commit 27f8450

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@ Clone the repo and run `docker build -f Dockerfile-[your cpu architecture] -t yt
2828

2929
Or use the image from [hub.docker.com](https://hub.docker.com/r/z0pyrus/ytarchiver) (`docker pull z0pyrus/ytarchiver`)
3030

31-
To run the Docker Container use `docker run -it --name ytarchiver -v /home/user/ytarchiver:/app/downloads z0pyrus/ytarchiver '-o' '/app/downloads/%(title)s_%(id)s' 'options' 'youtube url' 'quality'`. Use for `/home/user/ytarchiver` your path where the videos will be saved.
31+
To run the Docker Container use `docker run -it --name ytarchiver -v /home/user/ytarchiver:/app/downloads z0pyrus/ytarchiver '-o' 'options' 'youtube url' 'quality'`. Use for `/home/user/ytarchiver` your path where the videos will be saved.
3232

33-
Setting `'-o' '/app/downloads/%(title)s_%(id)s'` is mandatory.
3433

35-
For example `docker run -it --name ytarchiver /home/user/ytarchiver:/app/downloads z0pyrus/ytarchiver '-o' '/app/downloads/%(title)s_%(id)s' '--debug' '--monitor-channel' '-r' '180' '[youtube url]' 'best'`
34+
For example `docker run -it --name ytarchiver /home/user/ytarchiver:/app/downloads z0pyrus/ytarchiver '-o' '--debug' '--monitor-channel' '-r' '180' '[youtube url]' 'best'`
3635

3736
It is recommended to add `--log-opt max-size='100kb'`
3837

3938
You can also add a cookies file. Simply add `-v /path-to-cookie-file:/app/cookies.txt` for example:
40-
`docker run --name ytarchiver -v /home/user/yta:/app/downloads -v /home/user/yta/cookies.txt:/app/cookies.txt z0pyrus/ytarchiver:latest '-o' '/app/downloads/%(title)s_%(id)s' '--cookies' 'cookies.txt' 'https://www.youtube.com/watch?v=something' '480p'`
39+
`docker run --name ytarchiver -v /home/user/yta:/app/downloads -v /home/user/yta/cookies.txt:/app/cookies.txt z0pyrus/ytarchiver:latest '-o' '--cookies' 'cookies.txt' 'https://www.youtube.com/watch?v=something' '480p'`
4140

4241
# Usage
4342

0 commit comments

Comments
 (0)