You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Current functionality supports removing and adding items to bazos.cz, bazos.sk, bazos.at and bazos.pl.
Goal
Create full-featured API for bazos.cz, bazos.sk, bazos.at and bazos.pl.
Installation
Requirements
Python 3.10+
chromedriver 116.0.5845.96+
pip3 install bazos
Run
bazos --helpbazos -b --country cz sk --path$HOME/Documents/photos-archive# Remove all items from bazos.cz and bazos.sk and add new items from $HOME/Documents/photos-archivebazos -b --country cz sk --add-only --path$HOME/Documents/photos-archive# Add new items from $HOME/Documents/photos-archive
--country argument
Supported countries:cz,sk,at,pl
-b|--bazos argument
This turn on run.
--path argument
The folder where all photos anduser_{country}.yml file.
How to structure folder defined in--path argument:
Before creating pull request, please runpre-commit run --all-files to check if there are no errors.
Install pre-commit hooks
pre-commit install
Create virtual environment + install dependencies
./make.sh dev_docker_up# or locallypython3 -m venv venvsource venv/bin/activatepip install -r requirements.txtpip install -e.# And then you can try:python3 bazos --help
You are good to go!
About
API for Bazos websites (DOMAINs: bazos.cz, bazos.sk, bazos.au, bazos.pl)