1
0
mirror of https://github.com/danog/gigaclone.git synced 2024-12-02 09:27:55 +01:00

Update gigaclone

This commit is contained in:
Video download 2015-09-25 22:28:42 +02:00
parent b6af099ca2
commit c68bf20693

View File

@ -13,9 +13,9 @@ for f in ./*;do {
echo "Working... for $f" echo "Working... for $f"
sed -i '/.*404.*/d;/.*403.*/d;s/\sHTTP.*//g;s/.*\s/http:\/\/profile\.gigaset\.net/g;/http:\/\/profile\.gigaset\.net\"\"/d' $f sed -i '/.*404.*/d;/.*403.*/d;s/\sHTTP.*//g;s/.*\s/http:\/\/profile\.gigaset\.net/g;/http:\/\/profile\.gigaset\.net\"\"/d' $f
echo "Remove duplicates for $f" echo "Remove duplicates for $f"
gawk -i inplace '!seen[$0]++' $f awk '!seen[$0]++' $f>$tmp/1
echo "Download urls in $f." echo "Download urls in $f."
wget -i $f -x -N -P $dir wget -i $tmp/1 -x -N -P $dir
};done };done
cd $dir cd $dir