Skip to main content

Package to download all your saved GPX tours from schweizmobil.ch

Project description

schweizmobil_gpx

Download all your saved GPX tours from schweizmobil.ch in one go.

📍 Background

Schweizmobil is a popular platform for planning hiking, biking, and other outdoor tours in Switzerland. I had over 100 personal tours saved and wanted to download them automatically instead of one by one manually.

🧠 What This Package Does

  • Uses your personal auth cookie to access your account
  • Fetches all saved tours
  • Downloads each one as a .gpx file into a folder of your choice

🛠 Installation

You can install this using pip.

pip install schweizmobil_gpx

🧾 Usage

1. Get your authentication cookie

Using Chrome:

  • Log into schweizmobil.ch
  • Right-click → Inspect (or press Cmd + Option + I)
  • Go to the Application tab
  • Under Cookies, click the https://www.schweizmobil.ch domain
  • Look for a cookie named auth
  • Copy its value — a long string of letters and symbols

2. Run the downloader

from schweizmobil_gpx import download_gpx_tours download_gpx_tours("your_auth_cookie_here")

*All .gpx files will be saved in the current directory.

📂 Output

Each file is saved as a .gpx and named after your tour:

Example: Pilatus_Hike.gpx Bike_Ride_Zurich.gpx

📦 Requirements

This package depends on:

  • requests

🔐 License

Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).

🚧 Notes

  • This is an unofficial tool, not affiliated with SchweizMobil
  • Requires a valid cookie from a logged-in session
  • Works best with saved tours in your personal account

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schweizmobil_gpx-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

schweizmobil_gpx-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file schweizmobil_gpx-0.1.0.tar.gz.

File metadata

  • Download URL: schweizmobil_gpx-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.18

File hashes

Hashes for schweizmobil_gpx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ea270e0ab544f4d903b596c984313e1bf7e14d35f1daac89292d25727d16786
MD5 182128be0957fae260ea5be1b63f9a96
BLAKE2b-256 558378d07a6efead653375f07c8220e409903115add1bb0a617ba600f24719c0

See more details on using hashes here.

File details

Details for the file schweizmobil_gpx-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for schweizmobil_gpx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa86eed58a071925f384a2cc2e55157eefcaca32c317cfa75a40bc1f0db86008
MD5 519f0e5d242f819bab6e4517ce3c4728
BLAKE2b-256 1bb1f6b3aac15854276701f5dc2f7d350b65a34b8ebc23a9c23f1e2def062b22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page