Zap Imoveis Scraper
zapimoveis-scraper is a Python package that works as a crawler and scraper using beautifulsoup4 to get data from zap imóveis.
Installation
Use the package manager pip to install zapimoveis-scraper.
pip install zapimoveis_scraper
Usage
import zapimoveis_scraper as zap
# returns a list with objects containing scraped data
zap.search(localization="go+goiania++setor-oeste", num_pages=5)
Available search parameters:
- localization (string): location in which the search will be performed
- default: 'go+goiania++setor-marista'
- The search string is available on the search url of zap imóveis. Eg: https://www.zapimoveis.com.br/aluguel/imoveis/rj+rio-de-janeiro+ilha-do-governador+cacuia/
- num_pages (int): Number of pages to scrape
- default: 1
- acao (string): type of contract. Possible values: 'venda', 'aluguel', 'lancamentos'
- default: 'aluguel'
- tipo (string): type of property. Possible values: 'imoveis', 'apartamentos', 'casas'
- default: 'casas'
- dictionaty_out (boolean): Specifies the method output (list of objects or dictionary)
- default: False
- time_to_wait (float): time to wait until the script scrapes the next page
- default: 0
Scraped attributes:
The objects returned from search contain the following attributes:
- description: property description
- price: property price (monthly)
- condo_fee: property condo fee (monthly)
- bedrooms: number of bedrooms on property
- bathrooms: number of bathrooms on property
- total_area_m2: property area (square meters)
- vacancies: parking spots available on property
- address: property address
- link: link of the property
Release files for zapimoveis-scraper 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zapimoveis_scraper-0.4.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zapimoveis_scraper-0.4.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / zapimoveis_scraper-0.4.0.tar.gz
| Download URL | zapimoveis_scraper-0.4.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0c97b11d2ad96a95026f30da2162501f7ddb0a9365dfb1eecd35b56db2f436a
|
|
BLAKE2b-256 checksum How to use checksums |
8d63bf5f71feb8947cd2f4688e7813dd3f9f94ceaf3f8e6f85c66373dfcf6133
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / zapimoveis_scraper-0.4.0-py2.py3-none-any.whl
| Download URL | zapimoveis_scraper-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
beac3d3b71990e05e489eb056c1e4f6053210930cf93acb9c657201807a43fda
|
|
BLAKE2b-256 checksum How to use checksums |
9ea7caad04699ccdc553b49fe9ea44d7c0e72237c12e0605ae63ac9b1e958b4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|