This project scrapes and saves information about houses in Tibia.
- Scrapes house data from the official Tibia website
- Saves results as a CSV in the
data/folder - Modern Python project structure (
src/andtests/) - CLI support for easy usage and custom output path
- Fully tested with pytest
pip install -e .Run the scraper and save results to the default location (data/houses.csv):
python -m tibiahouses.mainOr specify a custom output file:
python -m tibiahouses.main --output myhouses.csvYou can also use the provided script:
python scrape_houses.py├── data/ # Output CSV files
├── src/
│ └── tibiahouses/ # Main package code
├── tests/ # All tests
├── scrape_houses.py # Example script entry point
├── setup.py # Project metadata
├── requirements.txt # Main dependencies
├── requirements-dev.txt # Dev/test dependencies
└── README.md
Run all tests with:
pytestThis project is licensed under the MIT License - see the LICENSE file for details.