diff --git a/scripts/server_bin/update_onlyfans.sh b/scripts/server_bin/update_onlyfans.sh index eaa35bf..6431471 100755 --- a/scripts/server_bin/update_onlyfans.sh +++ b/scripts/server_bin/update_onlyfans.sh @@ -1,5 +1,6 @@ #!/bin/bash # 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 \ ofscraper --output normal --action download --sort subscribed --post timeline,profile,messages,purchased -ts --username ALL