Download all Snapmaps content from a specific geolocation.
Project description
snapmap-archiver
A tool written in Python to download all Snapmaps content from a specific geolocation.
Setup
pip3 install snapmap-archiver
Install dependencies with pip3
.
pip3 install -r requirements.txt
Install aria2c
Usage
python3 -m snapmap_archiver -o [OUTPUT DIR] -g="[LATITUDE],[LONGITUDE]"
Unfortunately you have to use the arbitrary -g="lat,lon"
rather than just -g "lat,lon"
when parsing negative numbers as argsparse
interprets said numbers as extra arguments.
Optional Arguments
Export JSON
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.
Snap Radius
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file snapmap-archiver-1.1.0.tar.gz
.
File metadata
- Download URL: snapmap-archiver-1.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b456dfe82e0ca4eb513360ceede1eec3f9b5838e2c318110c59212c127861136 |
|
MD5 | 54f3dc89ad06b093904b0630de16d91a |
|
BLAKE2b-256 | 5beadbd9c3f9475aedb468afdb78a66acd9d98d46d7df88d2fd48b7601ad86d9 |
File details
Details for the file snapmap_archiver-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: snapmap_archiver-1.1.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0408bbd0e8be5f58c5011abf836b0d9967e652ddff57b2e9c0ce046a170ec245 |
|
MD5 | 63fc2de5cf99208373593f6ab956e83d |
|
BLAKE2b-256 | d9c19b280cb52859275983a13f3e8ed81611a7121ea49e02c9db4f4ea65ce45d |