Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 832 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 832 Bytes

Prefecture

  1. Add the source code directory to PATH: e.g. export PATH=$PATH:/home/blabla/blabla/blabla/prefecture/
  2. Install selenium: pip install -U selenium
  3. Run: python main.py --url https://www.essonne.gouv.fr/booking/create/23014/ --delay 5 (for testing purpose python main.py --url http://www.essonne.gouv.fr/booking/create/xxxx/ --delay 4).
> python main.py -h
usage: main.py [-h] --url URL [--delay DELAY]

RDV Prefecture

optional arguments:
  -h, --help            show this help message and exit
  --url URL             Link of the RDV webpage. e.g:
                        https://www.essonne.gouv.fr/booking/create/xxxx/
  --delay DELAY, -d DELAY
                        Delay in second between requests.

NB: Increase the delay --delay if you encounter more "Bad gateway" error.