This script log in in site with requered login and password and get data from table (default: users) which inside db (default: testDB), you can also select cols by cols (default: *)
Your system must have installed uv Documetation astral-uv
pipx install uv
You can install all dependencies from uv.lock by command:
uv sync
Also you can use command from Makefile:
make install
Done!
usage: scraper [-h] --login LOGIN --password PASSWORD [--db DB] [--table TABLE] [--formatter FORMATTER] [--cols COLS]
Login in site and get data from database
options:
-h, --help show this help message and exit
--login LOGIN Your login
--password PASSWORD Your password
--db DB Name of database
--table TABLE Name of table
--formatter FORMATTER
Formatter of output
--cols COLS Columns to showYou can run demo-verson Asciinema powered by command:
make demo_version
You can run tests by command:
make test
You can watch test coverage by command
make cov
And finally you can watch demo_version of test by
make demo_tests