add some old scripts

This commit is contained in:
neingeist 2015-08-03 16:12:12 +02:00
parent 365d224418
commit 7d8e70e55e
6 changed files with 213 additions and 0 deletions

8
flickr-download-set Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
seturl=$1
lynx -dump $seturl | perl -ne 'print "http://flickr.com/photo_zoom.gne?id=$1&size=l\n" if m#([0-9]+)/in/set-#' \
| while read url; do
lynx -source "$url" | grep "static.*flickr.com" \
| perl -ne 'print "$1\n" if m#a href="(.*?\.jpg)"#' \
| xargs wget -c;
done