Please, use proxy in case of google-side ban for scrapping (but with provided UA no bans occurred for now, scrapped 10k+ images with TOR proxy)
usage: main.py [-h] --lat LAT --lon LON [--zoom ZOOM] [--rect RECT] [--dir DIR] [--path PATH] [--version VERSION]
options:
-h, --help show this help message and exit
--lat, -t LAT Latitude (coordinate of the point)
--lon, -n LON Longtitude (coordinate of the point)
--zoom, -z ZOOM Zoom (max 21)
--rect, -r RECT Rect size for the image
--dir, -d DIR Directory for storing tiles
--path, -p PATH Path for final image
--version, -v VERSION
Version of the mapExamples:
python ./main.py -t 40.69203211540114 -n -73.97539405578557 -z 20 -r 100Generates VERY big image of NYC with zoom 20, will use ~20GB of RAM and result will be ~4.5GB
python ./main.py -t 40.69203211540114 -n -73.97539405578557 -z 21 -r 10 Generates small, high-quality image of a small zone
Default is socks5://127.0.0.1:9050, change the address in first lines of the code if you need