Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (12 loc) · 799 Bytes

readme.md

File metadata and controls

20 lines (12 loc) · 799 Bytes

Sahibinden

This is a Python library to extract prices from sahibinden.com. It is heavily based on Luta.

You need to provide the inital search result page. The library will extract all prices, and follow next pages.

Installation

First, install Luta by following its documentation.

Then, install sahibinden by:

pip install git+https://github.com/keremkoseoglu/sahibinden.git

Usage

Check the test folder for sample Python codes.

Search also takes a value called post_sleep. If sahibinden.com receives too many requests in a row, it blocks your further requests. To prevent that, you can pass a post_sleep value (in seconds) to wait between each HTTP request.