kan01234 / ur-web-spider

web spider to scan UR avialbe room and output as csv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ur-web-spider

run test

install dependency

python3 -m pip install -r requirements.txt
python3 -m pip install --upgrade -r requirements.txt

execute

python3 src/main.py

execute with dev mode (no request to real server)

cat config.yaml isDev: true

python3 src/main.py

test

python3 -m pytest
python3 -m pytest -k testSplitStation

output

json file

output/bukken-yyyyMMdd.json

example

[
    {"madori": null, "allCount": "15", ....}
]

About

web spider to scan UR avialbe room and output as csv

License:MIT License


Languages

Language:Python 100.0%