Sign in to Flickr, open Settings, and under Your Flickr Data select Request My Flickr Data. For more information about what you can download and how downloads work, consult Flickr's support page.