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

Shared photos don't have any metadata #30

Closed karan closed 1 year ago

karan commented 3 years ago

I don't think you can solve this problem, but shared photos when downloaded do not have any (useful) EXIF metadata such as creation/modified timestamp, geo. In the web UI they do (sOcIaL) but not in the downloaded item.

mpl commented 3 years ago

hmm, at least for recent enough photos, they do for me. e.g.:

mbp:AF1QipNPz0C32jmgztWmVd4lJupv_YBDEOP9NDLCbfVo mpl$ pwd
/Users/mpl/Downloads/gphotos-cdp/AF1QipNPz0C32jmgztWmVd4lJupv_YBDEOP9NDLCbfVo
mbp:AF1QipNPz0C32jmgztWmVd4lJupv_YBDEOP9NDLCbfVo mpl$ exiftool PXL_20201114_234728417.jpg
ExifTool Version Number         : 11.59
File Name                       : PXL_20201114_234728417.jpg
Directory                       : .
File Size                       : 5.6 MB
File Modification Date/Time     : 2020:11:17 11:10:33+01:00
File Access Date/Time           : 2020:11:17 11:10:34+01:00
File Inode Change Date/Time     : 2020:11:17 11:10:34+01:00
File Permissions                : rw-r--r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Make                            : Google
Camera Model Name               : Pixel 2
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : HDR+ 1.0.332953048nd
Modify Date                     : 2020:11:15 00:47:28
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/50
F Number                        : 1.8
Exposure Program                : Program AE
ISO                             : 94
Exif Version                    : 0231
Date/Time Original              : 2020:11:15 00:47:28
Create Date                     : 2020:11:15 00:47:28
Offset Time                     : +01:00
Offset Time Original            : +01:00
Offset Time Digitized           : +01:00
Components Configuration        : Y, Cb, Cr, -
Shutter Speed Value             : 1/50
Aperture Value                  : 1.8
Brightness Value                : 2.43
Exposure Compensation           : 0
Max Aperture Value              : 1.8
Subject Distance                : 0.188 m
Metering Mode                   : Center-weighted average
Flash                           : Auto, Did not fire
Focal Length                    : 4.4 mm
Warning                         : [minor] Unrecognized MakerNotes
Sub Sec Time                    : 903891
Sub Sec Time Original           : 903891
Sub Sec Time Digitized          : 903891
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 4032
Exif Image Height               : 3024
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Sensing Method                  : One-chip color area
Scene Type                      : Directly photographed
Custom Rendered                 : Custom
Exposure Mode                   : Auto
White Balance                   : Auto
Digital Zoom Ratio              : 0
Focal Length In 35mm Format     : 27 mm
Scene Capture Type              : Standard
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Normal
Subject Distance Range          : Macro
GPS Version ID                  : 2.2.0.0
GPS Latitude Ref                : North
GPS Longitude Ref               : East
GPS Altitude Ref                : Above Sea Level
GPS Time Stamp                  : 23:47:28
GPS Dilution Of Precision       : 19.526
GPS Img Direction Ref           : Magnetic North
GPS Img Direction               : 269
GPS Processing Method           : fused
GPS Date Stamp                  : 2020:11:14
JFIF Version                    : 1.02
Profile CMM Type                :
Profile Version                 : 4.0.0
Profile Class                   : Display Device Profile
Color Space Data                : RGB
Profile Connection Space        : XYZ
Profile Date Time               : 2016:12:08 09:38:28
Profile File Signature          : acsp
Primary Platform                : Unknown ()
CMM Flags                       : Not Embedded, Independent
Device Manufacturer             : Google
Device Model                    :
Device Attributes               : Reflective, Glossy, Positive, Color
Rendering Intent                : Perceptual
Connection Space Illuminant     : 0.9642 1 0.82491
Profile Creator                 : Google
Profile ID                      : 75e1a6b13c34376310c8ab660632a28a
Profile Description             : sRGB IEC61966-2.1
Profile Copyright               : Copyright (c) 2016 Google Inc.
Media White Point               : 0.95045 1 1.08905
Media Black Point               : 0 0 0
Red Matrix Column               : 0.43604 0.22249 0.01392
Green Matrix Column             : 0.38512 0.7169 0.09706
Blue Matrix Column              : 0.14305 0.06061 0.71391
Red Tone Reproduction Curve     : (Binary data 32 bytes, use -b option to extract)
Chromatic Adaptation            : 1.04788 0.02292 -0.05019 0.02959 0.99048 -0.01704 -0.00922 0.01508 0.75168
Blue Tone Reproduction Curve    : (Binary data 32 bytes, use -b option to extract)
Green Tone Reproduction Curve   : (Binary data 32 bytes, use -b option to extract)
Image Width                     : 4032
Image Height                    : 3024
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Aperture                        : 1.8
Image Size                      : 4032x3024
Megapixels                      : 12.2
Scale Factor To 35 mm Equivalent: 6.1
Shutter Speed                   : 1/50
Create Date                     : 2020:11:15 00:47:28.903891+01:00
Date/Time Original              : 2020:11:15 00:47:28.903891+01:00
Modify Date                     : 2020:11:15 00:47:28.903891+01:00
GPS Altitude                    : 272.6 m Above Sea Level
GPS Date/Time                   : 2020:11:14 23:47:28Z
GPS Latitude                    : 45 deg 10' 56.88" N
GPS Longitude                   : 5 deg 42' 48.72" E
Circle Of Confusion             : 0.005 mm
Depth Of Field                  : 0.03 m (0.17 - 0.20 m)
Field Of View                   : 67.4 deg
Focal Length                    : 4.4 mm (35 mm equivalent: 27.0 mm)
GPS Position                    : 45 deg 10' 56.88" N, 5 deg 42' 48.72" E
Hyperfocal Distance             : 2.22 m
Light Value                     : 7.4