biedraScraper
is a simple Python script to scrap the newest prices from zakupy.biedronka.pl using Selenium and save them to XLSX file using Pandas.
- Python 3.11+
- uv package manager
Core dependencies (managed by uv):
- numpy 2.2.2+
- openpyxl 3.1.5+
- pandas 2.2.3+
- selenium 4.28.1+
-
Clone the repository:
git clone https://github.com/mcjmk/biedraScraper.git cd biedraScraper
-
Set up environment and install dependencies:
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate uv sync
uv run src/biedrascraper/main.py
After running the script, the scraped prices will be saved in the biedra_{today}.xlsx
. Enjoy! :)
The code is split into a few files in the src/biedrascraper
directory:
config.py
- URL and category configurationsfetch.py
- scraping logic using Seleniumsave.py
- saving data to different formatsmain.py
- main script that puts it all together