This commit is contained in:
Tykayn 2025-07-28 16:37:50 +02:00 committed by tykayn
parent 66bbce5e85
commit a695a8ef03
9 changed files with 353 additions and 12 deletions

View file

@ -0,0 +1,9 @@
# get latest france with cli
source ./secrets.sh
python3 /home/poule/encrypted/stockage-syncable/www/development/html/sendfile_osm_oauth_protector/oauth_cookie_client.py \
-u "$OSM_USER" -p "$OSM_PASS" \
-c https://osm-internal.download.geofabrik.de/get_cookie \
-o cookie.txt
wget -N --no-cookies --header "Cookie: $(cat cookie.txt | cut -d ';' -f 1)" https://osm-internal.download.geofabrik.de/europe/france-latest-internal.osm.pbf -O osm_data/france-internal.osh.pbf