Skip to content

Ojedalatronico/TibiaHouses

Repository files navigation

TibiaHouses

Python application Python 3.12+ License: MIT

This project scrapes and saves information about houses in Tibia.

Features

  • Scrapes house data from the official Tibia website
  • Saves results as a CSV in the data/ folder
  • Modern Python project structure (src/ and tests/)
  • CLI support for easy usage and custom output path
  • Fully tested with pytest

Installation

pip install -e .

Usage

Command Line Interface (CLI)

Run the scraper and save results to the default location (data/houses.csv):

python -m tibiahouses.main

Or specify a custom output file:

python -m tibiahouses.main --output myhouses.csv

As a Script

You can also use the provided script:

python scrape_houses.py

Project Structure

├── 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

Testing

Run all tests with:

pytest

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Get all the data prices houses (in tibia) with this. Just that

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Languages