yakneens / flickr_to_google_photos_migration Goto Github PK
View Code? Open in Web Editor NEWA tool for migrating your photo library from Flickr to Google Photos
License: GNU General Public License v3.0
A tool for migrating your photo library from Flickr to Google Photos
License: GNU General Public License v3.0
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?
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!
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.