Skip to content

Instantly share code, notes, and snippets.

@matthewhughes
Created July 4, 2013 10:12
def main():
favs = flickr.walk(tags="kittens", extras="geo")
for photo in favs:
if photo.get('latitude') != '0':
title = photo.get('title')
latitude = float(photo.get('latitude'))
longitude = float(photo.get('longitude'))
url = shorturl.url(photo.get('id'))
identity = photo.get('id')
submit_to_scraperwiki(identity, title, latitude, longitude, url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment