check if tty or not
This commit is contained in:
parent
18755d1843
commit
11fdad7d38
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# docker pull ghcr.io/datawhores/of-scraper:latest
|
# docker pull ghcr.io/datawhores/of-scraper:latest
|
||||||
docker run -it --rm --name=ofscraper -u 1000:1000 -v /home/stev/.config/ofscraper:/home/ofscraper/.config/ -v /home/stev/gallery-dl/onlyfans:/home/ofscraper/data \
|
test -t 1 && USE_TTY="-it"
|
||||||
|
docker run ${USE_TTY} --rm --name=ofscraper -u 1000:1000 -v /home/stev/.config/ofscraper:/home/ofscraper/.config/ -v /home/stev/gallery-dl/onlyfans:/home/ofscraper/data \
|
||||||
ghcr.io/datawhores/of-scraper:3.12.9 \
|
ghcr.io/datawhores/of-scraper:3.12.9 \
|
||||||
ofscraper --output normal --action download --sort subscribed --post timeline,profile,messages,purchased -ts --username ALL
|
ofscraper --output normal --action download --sort subscribed --post timeline,profile,messages,purchased -ts --username ALL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue