Open ryeguard opened 7 months ago
An approach for mitigating issue https://github.com/petergardfjall/garminexport/issues/113. This PR allows the user to set the Authorization header and JWT_FGP cookie through command line args, e.g.,
Authorization
JWT_FGP
export TOKEN="longer_token_here" export JWT_FGP="shorter-cookie-here" garmin-backup --token=$TOKEN --jwt_fgp=$JWT_FGP username
Where the token/cookie can be found under the Network>Headers/Cookies tab in your browser's DevTools in requests to connect.garmin.com.
connect.garmin.com
This is a cool idea. This project doesn't work without the captcha, right?
It looks like it solves #108 also.
An approach for mitigating issue https://github.com/petergardfjall/garminexport/issues/113. This PR allows the user to set the
Authorization
header andJWT_FGP
cookie through command line args, e.g.,Where the token/cookie can be found under the Network>Headers/Cookies tab in your browser's DevTools in requests to
connect.garmin.com
.