Python package for scraping apartment data from Craigslist.
Stable version from PyPI:
pip install craigapts
Dev version from GitLab:
pip install git+https://gitlab.com/everetr/craigapts.git
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)
See NEWS.md.
See TODO.md.