pe-st / garmin-connect-export

Download a copy of your Garmin Connect data, including stats and GPX tracks.
MIT License
364 stars 75 forks source link

add option to skip the n number of newest activites #23

Closed jkall closed 5 years ago

jkall commented 5 years ago
modified:   gcexport.py

I have > 1000 activities and sometimes downloading with option --count all fails.

This is a minor fix to allow user to restart downloading where it crashed.

Eg. first download:

python gcexport.py --count all ~/Downloads/garmin $ Garmin Connect activity (657/2098) [activity_id] ... $ ...some error...

Second run:

python gcexport.py --count all --start_activity_no 657 ~/Downloads/garmin $ ... $ Skipping Garmin Connect activity (656/2098) [activity_id] $ Garmin Connect activity (657/2098) [activity_id]

pe-st commented 5 years ago

Included in 2.3.1, thanks!