SteadyGiant / craigapts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%