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
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.
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.0.0.tar.gz
.
File metadata
- Download URL: snapmap-archiver-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a86c50592da8d22b26f8b7790d9480a15633ed2520b8dc2805f6133f24a20851 |
|
MD5 | ec74f8c40a4ba81f3a7b73ecefe8f8aa |
|
BLAKE2b-256 | b2151dba9fed2c19abbf02c5793113d496fe6c5e0844b143b6e11d21442eef6a |
File details
Details for the file snapmap_archiver-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: snapmap_archiver-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a21b64096f90fe9ffb156245b560384be0626eaaecf88233777c0283e11c5526 |
|
MD5 | c118108197fac934553776242d9777ce |
|
BLAKE2b-256 | a6c73c4775a08f7685552d29bfb3aaaab855cb0862161204c7e6c46e80504ac5 |