Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will gphotos-cdp continue to work after Googles API change announcement? #47

Open
tschweitzer opened this issue Jan 8, 2025 · 2 comments

Comments

@tschweitzer
Copy link

tschweitzer commented Jan 8, 2025

Google announced changes to their Photos API limiting access for third parties as a privacy/security mechanism. Projects like gphotos-sync therefore won't be working anymore, see gilesknap/gphotos-sync-discussion#1.

Does this change also affect gphotos-cdp or how high do you see the risk of gphotos-cdp stopping to work in the future?

@mpl
Copy link
Collaborator

mpl commented Jan 8, 2025

I don't have the authentication flow off the top of my head anymore, but looking at the discussion on gphotos-sync , I would assume that yes, gphotos-cdp is going to have the same problem.

@spraot
Copy link

spraot commented Jan 20, 2025

gphotos-cdp doesn't use any APIs, so that change won't break it. If you are interesting in using it, consider this fork instead though, it has a number of improvements, including:

  • Use newer chromedp version
  • Make finding end of library more robust
  • If downloaded file is a zip, unzip it
  • Add -date option that takes the date from the gphotos UI and sets it as file modified time (many of my files have no date metadata)
  • Skip existing files (allowing redoing sync without redownloading, necessary if adding older photos to gphotos)
  • Fix race condition that caused my syncs to stop every 40 files or so
  • Add -json option for outputting logs in json format

There's a nice setup with cron running in a docker container and auth helpers here: https://github.com/spraot/gphotos-sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants