dimanche 27 septembre 2020

How to scrap seloger.com with python

I need to get real apartment data for machine learning homework.

In order to do it, I need to scrap the website www.seloger.com to get apartment prices, surface, city, district ...

I have tried lots of open source code but none of them works (I use python). Here is one code that I have tried: https://medium.com/france-school-of-ai/web-scraping-avec-python-apprenez-%C3%A0-utiliser-beautifulsoup-proxies-et-un-faux-user-agent-d7bfb66b6556

Also, is it legal to scrap a website if it's just in an educational way?

Thanks a lot to anyone who can help me!




Aucun commentaire:

Enregistrer un commentaire