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-tag Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
tagurl=$1
lynx -dump $tagurl | perl -ne 'print "http://flickr.com/photo_zoom.gne?id=$1&size=l\n" if m#flickr.com/photos/.*/([0-9]+)/#' \
| 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