Coder Social home page Coder Social logo

yakneens / flickr_to_google_photos_migration Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 10.0 661 KB

A tool for migrating your photo library from Flickr to Google Photos

License: GNU General Public License v3.0

Python 100.00%
celery flickr google-photos migration python

flickr_to_google_photos_migration's People

Contributors

bruce-szalwinski avatar mocoso avatar yakneens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flickr_to_google_photos_migration's Issues

how to create auth/google_token.json

The docs mention how to create the google_credentials.json but not how to create the auth/google_token.json, referenced in line 14 of migration_util.py. Can you explain how to do that?

DNS resolution was failing - urllib3 throwing Connecting errors randomly

Adding this for others who might be facing the same problem. I was getting DNS issues resolving to api.flickr.com. It was manifesting itself in urllib3 throwing Connecting errors randomly, usually after 80 images were pulled in the build_migration_photos_list.py script.

My solution was to add a /etc/hosts entry for api.flickr.com and that way no DNS was being called. So far am on photo pull 1300 and no errors!

Issue building the list of Flickr photos

I'm using Fedora 29 x86_64.
Python 3 on a virtualenv:

» python --version
Python 3.7.2

Following the instructions, every time I reach photo 61 I see this error message:

61 Photo(id=b'32716843128', title=b'')
Traceback (most recent call last):
  File "/home/iweiss/projects/flickr2gphotos/lib/python3.7/site-packages/flickr_api/objects.py", line 1313, in getPhotoFile
    return self.getSizes()[size_label]["source"]
KeyError: 'Original'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "build_migration_photos_list.py", line 25, in <module>
    photo_url = photo.getPhotoFile("Original")
  File "/home/iweiss/projects/flickr2gphotos/lib/python3.7/site-packages/flickr_api/objects.py", line 1315, in getPhotoFile
    raise FlickrError("The requested size is not available")
flickr_api.flickrerrors.FlickrError: The requested size is not available

This is from an Auto Upload album, so I think that's why all of them have an empty title.

Image dates don't seem to transfer to Google Photos

Firstly, thankyou so much for a really excellent tool to move photos from Flickr to Google. Most online services to do this (with many users) fail by hitting the Google API daily limit - so this is really great.

When images are moved from Flickr to Google the dates don't seem to be transferred (I've not looked at the EXIF data either). I could have a look at implementing this myself if you can point me in the right direction?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.