I like planning travel routes around automotive/motorcycle museums, and last winter i wasted too much time manually pinning museum locations in Google My Maps.
This repo is an effort to have content of Automuseums.info website as GPX files.
Download generated GPX files here: https://automuseums.tldrtravel.info
Display help:
.venv/bin/python3 cli.py --help
Generate all possible output GPX files:
.venv/bin/python3 cli.py --group
Regenerate output files with current cache:
.venv/bin/python3 cli.py --group '--cache-ttl-countrylist' '999' '--cache-ttl-museumlist' '999' '--cache-ttl-museumpage' '999'
Run in lowprofile mode and regenerate grouped GPX:
.venv/bin/python3 cli.py --lowprofile --group
--lowprofile mode is designed to be executed periodically (e.g. via cron)
and keep output GPX files up to date with upstream website data.
It will pick a single country with oldest (or absent) output
and refresh data on its museums, including grouped-by-region output files
if --group option is enabled.
With default --request-delay execution can take more than 2 hours for countries like United States.
To enable Sentry.io SDK,
create sentry.dsn file with Client Key (DSN) in the root of the project.
To enable Better Stack heartbeat monitor,
create heartbeat.url file with heartbeat URL in the root of the project.
systemd/* folder contains files that can be copied to /etc/systemd/system/
or symlinked with systemctl link /home/automuseums/Automuseums-gpx/systemd/automuseums.*
Enable cronjob with systemctl enable --now automuseums.timer
- Python >=3.10
To create venv:
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt