Google contacts. GetPhoto
===

We want to import contacts photos from google API. 

Following code was working for me. 

    for email, name, entry in feed:
        photo = client.GetPhoto(entry)
        if photo:
            fname = str(uuid.uuid4()) + '.jpg'
            image_file = open(dname + '/' + fname, 'wb')
            image_file.write(photo)
            image_file.close()
            result[email] = '/media/import/%s/%s' % (dir, fname)

Now, for some reasons, we get in files atom feed copy. So method `GetPhoto` no working. 

Any ideas, why it happened and what is current way to retrieve contacts photo? 