script updates

This commit is contained in:
Stefen Auris 2024-08-20 00:07:13 -04:00
parent 2da3250596
commit 95d34ab0bc
6 changed files with 15 additions and 8 deletions

View file

@ -1,10 +1,11 @@
#!/bin/bash
target=/home/stev/Pictures/gallery-dl/twitter/follow.txt
#edit follows file in place
#sed -n -i '/^@/p' $target
#sed -ie 's/^.//' $target
sed -n -i '/^@/p' $target
sed -ie 's/^.//' $target
#loop through the list and download
for i in `cat $target`; do
gallery-dl --sleep 4 --abort 3 "$i"
# gallery-dl --sleep 4 --abort 3 "https://x.com/$i"
echo $i
done