Unfortunately it hasn't been updated in years and I had to do a couple modifications for it to work for my use case git clone python3.8 setup.py install The script is pretty straight forward and easy to use with quite some options. I found this one first but if I had to do it again I would probably use something more robuts and maintained, this look like it would have been a better choice. It should have generated a fair quantity of folders with random names but I wanted to organise it a bit so looked for a script that will allow me to do that Sort the pictures I had to download 8 years of pictures (8k ) and it took quite some hours but I still found it to be pretty fast. I left this running in the background but it does crash quite often so it needs to be restarted, thanksfully it starts again where it stopped. go run main.go -dev in order to re-use the same user-data-dir instead of generating a new one.user-data-dir= /var/folders/FOO/BAR/T/gphotos-cdp \ Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \ Run the following and log in with your Google account.Session Dir: /var/folders/FOO/BAR/T/gphotos-cdpSOMENUMBER go run main.go and take note of the session dir.There's currently an issue regarding running the tool where I go a bit more in detail here To fix that I installed exiftool and used grep to find which exif tag was wrongly formatted exiftool -s FILE | grep 2014:11:06 24:07:57Īnd then just removed the tag altogether (whatever the tag is it needs to be written lowercase without spaces) exiftool -overwrite_original -o -thefaultytag= FILE via gphotos-cdp I did had three pictures where the exif data couldn't be read as the date seemed to be invalid: time data '2014:11:06 24:07:57' does not match format '%Y:%m:%d %H:%M:%S' Once you receive the archive just follow the instruction in this repository and it should just work out of the box. via Google TakeoutĪsk for your Google Photos data in here and wait for the download link in your email (mine took 20 minutes). json for each pictures with all the info they have (usually the upload date which if it's not the actual date the picture was taken it is at least the date you received it). Google Takeout in the other end also give a. Basically the tool does not take into account the date in the "details" section of Google Photos. It is not a problem if all the pictures you have on Google Photos are taken with your camera, it is otherwise an issue if you want to upload also pictures / screenshots sent to you via instant messaging apps as they usually strip the exif. The script for the second one unfortunately fails to extract the correct date if the picture itself does not contain any exif, instead it will default to today's date. The second one is good if you want to just get the last pictures you've uploaded every few weeks as it keeps track of the last retrieved picture. The first is useful to get all of the pictures in one easy go. I've found two solutions to this, either via Google Takeout, or using a tool that download one by one all your pictures on Google Photos. (and maybe recompressing the image bytes?). They instead let you download your photos Replacing it with a new API that doesn't let you download your Google Photos used to have an API to do this (the Picasa Web Albums API) but Yes Google Photos is efficient, easy to use and just works™ but this comes to the price of handing over your pictures to a company who already know a tad too much about you and now get the extra access to where you were, when, and to whatever is present in the pictures.Īs stated here it is also not as easy as querying an API to get back your pictures in full resolution with the original location: In my quest of de-google-ifying my day to day operations I wanted to replace Google Photos and take back the control of my own pictures.
0 Comments
Leave a Reply. |