Skip to main content

Python package for scraping apartment data from Craigslist.

Project description

craigapts

Python package for scraping apartment data from Craigslist.

Install

Stable version from PyPI:

pip install craigapts

Dev version from GitLab:

pip install git+https://gitlab.com/everetr/craigapts.git

Examples

from craigapts import CLSearch

GEO   = "newjersey"
QUERY = '"no section 8"'  # exact phrases must be within "double quotes"

# get basic data available on search result pages
c1 = CLSearch(GEO, QUERY)
print(c1.data)

# get details by navigating to each individual ad
c2 = CLSearch(GEO, QUERY, deep=True)
print(c2.data)

CHANGELOG

See NEWS.md.

TODO

See TODO.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

craigapts-2020.3.16.tar.gz (19.0 kB view hashes)

Uploaded Source

Built Distribution

craigapts-2020.3.16-py2.py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page