perkeep / gphotos-cdp

This program uses the Chrome DevTools Protocol to drive a Chrome session that downloads your photos stored in Google Photos.
Apache License 2.0
651 stars 36 forks source link

finshes without getting all photos #35

Closed andyseubert closed 2 years ago

andyseubert commented 2 years ago

I am using this via Jake Wharton's docker containerized deployment https://github.com/JakeWharton/docker-gphotos-sync/blob/trunk/root/app/sync.sh

however even when I run it directly, it seems to finish but it hasn't fetched all of the photos. I have tried catting a photo URL into .latest, but this does not seem to help. it pulls one photo and stops. Here is the output I see: gphotos-cdp -v -dev -headless -dldir /download

2022/02/03 17:36:49 Session Dir: /tmp/gphotos-cdp 2022/02/03 17:36:50 pre-navigate 2022/02/03 17:36:52 post-navigate 2022/02/03 17:36:53 Page loaded, most recent item in the feed is: AF1QipNc61YU-maOFCUNdEV7MTgiqA4GZpmmDVb-66KR 2022/02/03 17:36:55 Event: {Type:keyDown Modifiers:Shift Timestamp: Text: UnmodifiedText: KeyIdentifier: Code:KeyD Key:D WindowsVirtualKeyCode:68 NativeVirtualKeyCode:68 AutoRepeat:false IsKeypad:false IsSystemKey:false Location:0} 2022/02/03 17:36:55 Event: {Type:keyUp Modifiers:Shift Timestamp: Text: UnmodifiedText: KeyIdentifier: Code:KeyD Key:D WindowsVirtualKeyCode:68 NativeVirtualKeyCode:68 AutoRepeat:false IsKeypad:false IsSystemKey:false Location:0} 2022/02/03 17:36:55 ERROR: unhandled page event *page.EventDownloadWillBegin 2022/02/03 17:36:59 Marking https://photos.google.com/photo/AF1QipNc61YU-maOFCUNdEV7MTgiqA4GZpmmDVb-66KR as done OK

what have I missed?

Thanks

andyseubert commented 2 years ago

ok I tried putting a different URL into .latest and now it's downloading again. Not sure if it's getting duplicates or what but at least it's trying. Thanks.