---
title: "Discussion on \"Web Scraping real estate data with Beautiful Soup\" | Hashnode"
description: "Discussion on \"Web Scraping real estate data with Beautiful Soup\". Imagine you could go on websites and extract automatically information you want about a particular topic: this is Web Scraping. Web Scraping help to extract non-structured data on websites. Understanding this method requires having prerequisites on t..."
url: "https://hashnode.com/posts/web-scraping-real-estate-data-with-beautiful-soup/625455446386ed96b050ad8d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Web Scraping real estate data with Beautiful Soup](https://lorenagongang.com/web-scraping-real-estate-data-with-beautiful-soup?utm_source=hashnode&utm_medium=feed)

Imagine you could go on websites and extract automatically information you want about a particular topic: this is Web Scraping. Web Scraping help to extract non-structured data on websites. Understanding this method requires having prerequisites on t...

Apr 11, 2022 · 6 min read · lorenagongang.com  
Read the article

-   [#web-scraping](https://hashnode.com/tag/web-scraping)

## Written by

[Lorena Gongang](https://hashnode.com/@lorenagongang)

@lorenagongang · Cannes, France

  
[View profile](https://hashnode.com/@lorenagongang)

Data enthusiast | Junior Data Engineer | Learning and sharing | Building my online presence.

Junior Data Engineer

## Responses 2

Markdown supported · ⌘↵ to post

[SupositWar](https://hashnode.com/@SupositWar)

[Apr 19, 2022](https://hashnode.com/posts/web-scraping-real-estate-data-with-beautiful-soup/625455446386ed96b050ad8d/comment/625e5c9157bc36111520345d)

Hello Lorena !

Thanks for the great article. 2 comments though : you call the function GetLivalue but that's not a native function. Could you define somewhere what it corresponds to ?

Second comment is that you will get a 403 if you run the code as is I believe. SeLoger is pretty cautious about bots :).

Thanks a lot anyway, great script !

[Lorena Gongang](https://hashnode.com/@lorenagongang)

[Apr 19, 2022](https://hashnode.com/posts/web-scraping-real-estate-data-with-beautiful-soup/625455446386ed96b050ad8d/comment/625e5c9157bc36111520345d#reply-625f0f349ad0ef10f07c0a85)

Hello [SupositWar](https://hashnode.com/@SupositWar) I didn't mention it, but the function helps me separate values from the list because those values were in the same li. I didn't get a 403 error when running it. You can try the other method not to get blocked by the website.

Here is the function.

def getLiValue(list): numbers\_of\_pieces = list\[0\] rooms = list\[1\] size = list\[2\] return numbers\_of\_pieces, rooms, size

I hope this will help!

[Anuoluwapo Balogun](https://hashnode.com/@AnuoluwapoDS)

[Apr 11, 2022](https://hashnode.com/posts/web-scraping-real-estate-data-with-beautiful-soup/625455446386ed96b050ad8d/comment/62547bbb6386ed96b050b116)

Nice article 👍🏽

[Lorena Gongang](https://hashnode.com/@lorenagongang)

[Apr 13, 2022](https://hashnode.com/posts/web-scraping-real-estate-data-with-beautiful-soup/625455446386ed96b050ad8d/comment/62547bbb6386ed96b050b116#reply-625720e7e58c4ac41a675a86)

Thank you [Designegy Creatives](https://hashnode.com/@AnuoluwapoDS)

[Anuoluwapo Balogun](https://hashnode.com/@AnuoluwapoDS)

[Apr 13, 2022](https://hashnode.com/posts/web-scraping-real-estate-data-with-beautiful-soup/625455446386ed96b050ad8d/comment/62547bbb6386ed96b050b116#reply-625721acd448c6c43fbf1d35)

You are welcome 😁[Lorena Gongang](https://hashnode.com/@lorenagongang)
