Skip to main content

Download all Snapmaps content from a specific location.

Project description

snapmap-archiver

A tool written in Python to download all Snapmaps content from a specific location.

snapmap-archiver splash

Setup

pip3 install snapmap-archiver

View on PyPI

Install dependencies with pip3.

pip3 install -r requirements.txt

Install aria2c

Download aria2c from here:

https://aria2.github.io/

This is the downloader used for the fastest Snap download speeds.

Usage

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapmap-archiver-1.2.1.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

snapmap_archiver-1.2.1-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file snapmap-archiver-1.2.1.tar.gz.

File metadata

  • Download URL: snapmap-archiver-1.2.1.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for snapmap-archiver-1.2.1.tar.gz
Algorithm Hash digest
SHA256 c56b3141c8c9aaccbf02ac581376e8664a42d368313e9f52c808f21b672bdb0e
MD5 f2d6079d0b8d09abda704c74fced0d60
BLAKE2b-256 10287f5945ae303a7c5a0346c837ac7aca1ce1423175abad886eda88f17683a0

See more details on using hashes here.

File details

Details for the file snapmap_archiver-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: snapmap_archiver-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for snapmap_archiver-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3aea9f00dfd62c32ec266e35997f1ebb1ed3ee7e29f07d3edbc1732ee8f31c45
MD5 165f385d903364da592f8fb2809455a2
BLAKE2b-256 483f46ad5c0dde1626b9ea5d278d9da9828c9cbe893d1a1f3e470c36518b2c98

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page