Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1015 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 1015 Bytes

About

SK

Jednoduchý program na stiahnutie búd zo stránky http://boudy.info a ich uloženie vo formáte GPX.

Ukladané sú len búdy s presnou polohou a búdy s polohou odčítanou z mapy. Búdy s približnou polohou sú ignorované.

EN

Simple program to get huts from http://boudy.info and save them in GPX format.

Only huts with accurate location and map based location are saved. Huts with aproximate location are ignored.

Dependencies

bs4
retryz
argparse

Usage

usage: ./boudy2gpx.py [-h] [-u URL] [-o OUTFILENAME] [-t TIMEOUT] [-r RETRIES]
                      [-v]

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL     url
  -o OUTFILENAME, --output OUTFILENAME
                        Output file. If not specified, then stdout
  -t TIMEOUT, --timeout TIMEOUT
                        HTTP request timeout
  -r RETRIES, --retries RETRIES
                        Number of attempts to get hut
  -v, --verbose         Verbose