

Thus, if you want to make changes, just fork the repo and hack away! License
#Flickr uploadr reupload update#
Now that the task is complete, I'm unlikely to update this repository or accept any pull requests.

Uploading my Flickr photos to Google was a one time task, which these utilities helped to accomplish. So in case of an broken upload, the best we can do is to compare count of album contents and reupload the entire album if there's a mismatch.

Thus, I wanted to retain that geo location information when migrating to Google Photos. I spent a lot of time manually geo-tagging thousands of photos over the years using the Flickr photo organizer. For now, just provide the path to a non-existing file. This file will be created when you first run the upload process.auth_token_file: The file which will hold access tokens to the Photos API.client_secrets_file: The client credentials file that you got after setting up Google Photos API access.You may supply a different albums.json file with a different set of albums for upload.flickr_albums_json: Path to the albums.json metadata file.flickr_photo_json_dir: The folder containing all the flickr json metadata files.flickr_photo_dir: The single folder containing all the flickr photos/videos.Update the file contents as per the following: "auth_token_file": "c: \\media \\flickr-restore \\auth-token.json " "client_secrets_file": "c: \\media \\flickr-restore \\credentials.json ", "flickr_photo_dir": "c: \\media \\flickr-restore \\flickr-photos ", You may want to create a virtualenv first.NOTE: These scripts will not upload all the photos from the Flickr dump only photos inside albums. Set the album description, album cover photo, and photo description, as best as the API allows.For each Flickr album, recreate the album in Google Photos and upload the contained photos and videos.This enables Google Photos to correctly geo-tag uploaded photos. Update the EXIF metadata in photo files with the geo-tagging information in the Flickr json metadata.The scripts in this repo help achieve the following: Google Photos provides a basic API to create albums and upload photos. This data dump includes all the photos and videos that you ever uploaded to Flickr, as well as lots of json filesĭescribing all of your albums, comments, and other activity on Flickr. This repo contains couple of utilities that import albums from Flickr into Google Photos.įlickr provides a complete data dump through their Request my Flickr Data option in account settings.
