-
Содержание:
#! /bin/bash
for ((i=1; i<=$1; i++))
do
echo ==== Page $i ==== >>get.imouto.txt
wget "http://moe.imouto.org/post?page=$i&tags=$2" -O — |pcregrep -o -e 'href[^ ]+\.[^ ^ico]{4}'|sed -e 's/href\=\"//g' -e 's/\"//g'|uniq|grep imouto >>get.imouto.txt
done;
wget -nc -i get.imouto.txt
Назначение:
Качать картинки с moe.imouto.org по определенному тэгу
Параметры запуска:
get.imouto.sh количество_страниц тэг