petergardfjall / garminexport

Garmin Connect activity exporter and backup tool
Apache License 2.0
505 stars 83 forks source link

fit download doesn't work #61

Closed bnjmnschwn closed 3 years ago

bnjmnschwn commented 4 years ago

first of all thanks for your great work. it really made my life easier.

I use your program to download fit files from my athletes directly from garmin connect and import them in goldencheetah. since yesterday I am not able to download activities from any of my athletes. when I try to download e.g. gpx files it works perfectly well. I used DEBUG mode and got hold of the link where the script tries to download the fit file. When I copy the link into the browser a download of a .zip file starts which contains the fit file. This also works perfectly well - but the download via command line doesn't. I use this command: garmin-backup emailadress@mail.com --password mypassword --backup-dir "C:\Users\Username\Folder\Data" --format fit -E --max-retries 7

the script also doesn't use the max retries. it just tries to download it once and then write the filename to .not_found

bnjmnschwn commented 4 years ago

ah, thanks. checked the code but didn't see what was the issue. changed it in my code and works perfectly well again. thank you!