#/bin/bash
lynx -dump "https://huaban.com/discovery/beauty/" | grep pins | awk '{print $2}' | {
while read list;
do
imgurl=$(curl -s "$list" | grep fw658)
imgurl=${imgurl%%fw658*}fw658
imgurl=${imgurl##*src=\"}
if [ -e ~/Pictures/huaban ];then
cd ~/Pictures/huaban
else
mkdir ~/Pictures/huaban $$cd ~/Pictures/huaban
fi
wget -q "https:$imgurl"
done
}
exit
linux bash shell 下载花瓣美女
最新推荐文章于 2023-04-14 23:52:06 发布