Scraping divar website and gathering extracted data in to db and then predicting the price of apartment based on its features. The code was for final project of maktabkhooneh Python Advanced Programming course.
Code containes two part:
- Extracting data and gather them in mariadb. User can enter the city and number of pages for scroll.
- Training based these data and predicting apartment price.In this step user enter apartment features and get prediction of apartment price.
Steps to run:
- having mariadb sql (DB name:divar table:buyapartment divar.sql)
- install requirement.txt (beter use venv)
- run main.py