Use este loop (Chromium):
#!/bin/bash
while read ip; do
# chromium or chromium-browser on some Linux distributions
chromium --headless --disable-gpu --screenshot "http://$ip"
mv screenshot.png "${ip}.png"
convert "${ip}.png" "${ip}.jpg" # require ImageMagick
done < ip_list.txt
Ou este loop (Firefox):
#!/bin/bash
while read ip; do
firefox -headless -screenshot "http://$ip"
mv screenshot.png "${ip}.png"
convert "${ip}.png" "${ip}.jpg" # require ImageMagick
done < ip_list.txt