scripts and tridactyl

This commit is contained in:
Chris Cochrun 2020-12-09 08:53:50 -06:00
parent fda17aea44
commit 2dbf5dfc9f
13 changed files with 18 additions and 9 deletions

10
scripts/lfgimg Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env fish
for i in [1-10]
set url (curl https://www.lfg.co/page/$i |
rg '<img src="https://www.lfg.co' |
sed 's/\s*<.*="\(.*\)".*/\1/' )
echo $url\n >images.txt
curl -o $i.gif $url
end
#wget -O $i