Data mining using Python on Flickr data