Download Original Image from flickr.com from Command Line

wget -qO- $url |grep '\\[^"]*_o\.[^"]*' -o |head -n1 |sed -e 's@\\@@g' |xargs -I{} wget -q "https:{}"

e.g.

wget -qO- "https://www.flickr.com/photos/londonlooks/5638424882/" |grep '\\[^"]*_o\.[^"]*' -o |head -n1 |sed -e 's@\\@@g' |xargs -I{} wget -q "https:{}"