#hide
from getapt.apt import *
See craigslist apartments
pip install getapt
! show_apts -h
usage: show_apts [-h] region n Show links to apartments on craigslist positional arguments: region craiglist region like `portland` n show n listings optional arguments: -h, --help show this help message and exit
! show_apts portland 10
Showing 10 apartments in portland ================================================== https://portland.craigslist.org/mlt/apa/d/gresham-spacious-bedroom-unit-in-gresham/7489169916.html https://portland.craigslist.org/mlt/apa/d/gresham-spacious-bedroom-unit-in-gresham/7489169138.html https://portland.craigslist.org/wsc/apa/d/portland-call-for-future-availability/7489168564.html https://portland.craigslist.org/mlt/apa/d/portland-get-your-dream-apartment-come/7489168443.html https://portland.craigslist.org/clk/apa/d/vancouver-looking-for-an-apartment-this/7489168297.html https://portland.craigslist.org/clc/apa/d/clackamas-want-to-wake-up-to-nature/7489168192.html https://portland.craigslist.org/mlt/apa/d/portland-pet-friendly-apartments-in/7489167947.html https://portland.craigslist.org/clc/apa/d/west-linn-fitness-center-swimming-pool/7488321368.html https://portland.craigslist.org/mlt/apa/d/portland-pet-friendly-one-bedroom-in/7489163662.html https://portland.craigslist.org/mlt/apa/d/portland-oversized-closets-elevator/7489167324.html