#!/usr/bin/env fish for i in [1-10] set url (curl https://www.lfg.co/page/$i | rg 'images.txt curl -o $i.gif $url end #wget -O $i