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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file craigapts-2020.3.16.tar.gz
.
File metadata
- Download URL: craigapts-2020.3.16.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200311 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1421bc9c5db5cebd893c15c698e00367b1eec6dd9e5eeb0c8ef11c3048d623f2
|
|
MD5 |
b4f893639929cce322aeef426b25e381
|
|
BLAKE2b-256 |
4fa44dfa698702ddc80ae0110dcbfafff5ee9d5b58a4408a5e57e13bb0a42f45
|
File details
Details for the file craigapts-2020.3.16-py2.py3-none-any.whl
.
File metadata
- Download URL: craigapts-2020.3.16-py2.py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200311 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9d19666247e41200fb4fdce33f88fc74045f95b817af49915dc41da331a23905
|
|
MD5 |
4024a3d30a0c62b999f3d5c86036212f
|
|
BLAKE2b-256 |
3971b045a6113b66bd60031f7599da6f754980672d8f387122887932848b6804
|