Strava hacks script collection; you can reconstruct a gpx file from the public strava activity information. without premium account or any else
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Strava hacks script collection

I will uploading here my collections of scripts to get some hacks from Strava....

Installing on MacOSX

sudo easy_install pip
sudo pip install -r requirements.txt

Installing on Ubuntu/Debian

sudo apt-get install  python-requests python-argparse python-dateutil

strava_traces_downloader.py

with this script you can reconstruct a gpx file from the public strava activity information. without premium account or any else.

This script doesn't download the original GPX file. is just some a reconstruction, and is not better than the original GPX File.

Sometimes, When you aren't logged, and the activity is public, we can get 100 points only. Is not bad, but when you are logged and the activities is from a friend, we can get thousands of points (resulting a better GPX file).

usage: strava_traces_downloader.py [-h] [-a ID_Number] [-ai IDstart IDend]
                                   [-o output.gpx] [-l username password]

Download GPS Traces from Strava.

optional arguments:
  -h, --help            show this help message and exit
  -a ID_Number, --activity ID_Number
                        ID of activity to download (default: None)
  -ai IDstart IDend, --activityinterval IDstart IDend
                        A interval of activities. auto outputname, not
                        compatible with output name file option (default:
                        None)
  -o output.gpx, --output output.gpx
                        name of GPX file output. (default: output.gpx)
  -l username password, --login username password
                        login with username and password (default: None)

EXAMPLES

Download a simple activity

python strava_traces_downloader.py -a activitynumber -l youremail@domain.org yourpassword -o fileoutput.gpx

Download multiple activities

python strava_traces_downloader.py -ai 427796872 427796999 -l youremail@domain.org yourpassword                   

join_gpx_strava_files.py

a fast way to join a lot of GPX files downloaded from strava if you use strava_traces_downloader.py , this is your second step for join all in just one file.

python join_gpx_strava_files.py [gpx_directory] [outputfile.gpx]