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

Use Chrome DevTools Protocol to Work Around Photos API issues. #271

Closed
gilesknap opened this issue Dec 4, 2020 · 4 comments
Closed

Use Chrome DevTools Protocol to Work Around Photos API issues. #271

gilesknap opened this issue Dec 4, 2020 · 4 comments

Comments

@gilesknap
Copy link
Owner

Look into using google takeout to extract photos from the library to overcome:

  • lack of GPS
  • compressed video files
  • compressed original quality images

Note that @mholt has already done work in this area mholt/timeliner#38 (comment)

This is more of an exit strategy than support for gphotos-sync but could be used in parallel in some clumbsy fashion (I currently use gphotos-sync to keep an eye on accidental deletions, rather than a full backup)

@gilesknap gilesknap self-assigned this Dec 4, 2020
@gilesknap
Copy link
Owner Author

Now this seems better than supporting takeout.
https://github.com/perkeep/gphotos-cdp

If we use the existing gphotos-sync code to catalogue the photos library using Google API but replace its download code with the above then we might just get around many of the API nasty restrictions.

@mpl I just found your project and it looks like a good workaround to many of the crippling limitations of Google Photos API. Do you think that we could create some API such that I can drive the Chrome DevTools Protocol from Python?

@mpl
Copy link

mpl commented Dec 17, 2020

@gilesknap I haven't looked, but I would be surprised if there isn't already a python library to drive the Chrome DevTools Protocol. Have you checked?

@gilesknap
Copy link
Owner Author

@mpl yes it appears there is https://pypi.org/project/chrome-devtools-protocol/ - Sorry, I made this comment without any research as a reminder to look at it :-)

@gilesknap gilesknap changed the title Takeout support Use Chrome DevTools Protocol to Work Around Photos API issues. May 21, 2022
@gilesknap
Copy link
Owner Author

Closing as won't fix. I need Google to step up and make the API work in a useful fashion. Not chase a bunch of hacks to get around the API limitations.

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

No branches or pull requests

2 participants