Coder Social home page Coder Social logo

strava2geovelo's Introduction

Strava2Geovelo

This script allows to transfer your activities from Strava to Geovelo.

Why

The geovelo website allows the upload of GPX files (geolocation info of your activities), but only one by one. You cannot upload multiple GPX files at once. So I made this script that automatically does it one by one for all the activities in your Strava data export.

How to use

Download your Strava data

First you'll need to export your activities from Strava. You can get it on this page : https://www.strava.com/athlete/delete_your_account by clicking "Request your archive". You will then receive an email with a link to download your .zip archive containing all your data. There are two files/folder of interest :

  • activities.csv : lists all your activities
  • the activities folder : contains all gpx files

Setup

Install playwright :

pip install playwright
playwright install

Write your account info (email and password) in the the user_data.py file.

Extract your whole Strava archive wherever you want, but remember its path. Write it in the user_data.py file.

Execute the script

Launch the script :

python3 main.py

This will launch a web browser that will automatically navigate to the geovelo website and performs the steps to upload your activities. This may take some time to fully execute.

Known errors

You may encounter 'timeout errors' during execution, that are solved by running the script again. If you want to save time, you can modify the activities.csv file to remove the activities already uploaded, so the script will not waste time retrying.

strava2geovelo's People

Contributors

keith-maxwell avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.