You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
302 B
Bash

#!/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