A tool written in Python to download all Snapmaps content from a specific location.
pip3 install snapmap-archiver
Install dependencies with pip3
.
pip3 install -r requirements.txt
Install aria2c
python3 -m snapmap_archiver -o [OUTPUT DIR] -l="[LATITUDE],[LONGITUDE]"
Unfortunately you have to use the arbitrary -l="lat,lon"
rather than just -l "lat,lon"
when parsing negative numbers as argsparse
interprets said numbers as extra arguments.
You can export a JSON file with info about downloaded snaps with the --write-json
argument, which will contain information like the time the Snap was posted, and the Snap location.
The radius from the coordinates you provide that will be included for downloads. -r 20000
will download all Snaps within a 20km radius of your coordinates.