- It will take information from the real estate site and store it in the form of csv file making the data more organised and locally accessible.
- BeautifulSoup
- Pandas
pip install pandas
pip install beautifulsoup
- Now run the real_estate_webscrapper.py file to create the output2.csv file.
- Then output2.csv will be created in the same folder as real_estate_webscrapper.py file and it can be opened using Microsoft Excel.
- Load the website https://www.magicbricks.com/ready-to-move-flats-in-new-delhi-pppfs in your code using requests.
- Use inspect in website to know which div contains the information that we need
- Use beautiful soup to load the information in program and store it into a dictionary for each property
- Use pandas to convert the list of dictionaries to csv file