A Craigslist-style search app: enter a query, the app scrapes listings and displays them with titles, prices and images.
- Learn web scraping inside a Django view
- Search history stored in the database
- Search form
- Scraping with requests + BeautifulSoup
- Search history model
- Heroku Procfile
Python, Django 2.2, BeautifulSoup, PostgreSQL/SQLite
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver # http://127.0.0.1:8000Type a search term on the home page.
codedaddies_list/: settingsmy_app/: search view and model
Learning project.